Welcome to Linking Your Local Repo to GitHub!
Our objective for this micro-quest is to use the git remote add
command to add a remote named 'origin' that points to your personal GitHub repository URL for the Pong project.
Welcome to Linking Your Local Repo to GitHub!
Our objective for this micro-quest is to use the git remote add
command to add a remote named 'origin' that points to your personal GitHub repository URL for the Pong project.
Before we begin, let's ensure we understand the current state and the specification.
Specification: Add a remote named origin
pointing to your GitHub repository URL.
Current State Check:
git remote -v
to see if any remotes are already configured. The specification requires adding 'origin', so if it already exists, you might need to investigate why.Now, let's implement the solution by adding the remote.
origin
.origin
remote.With the remote added, let's validate our work to ensure it meets the specification.
Run the command git remote -v
in your terminal.
Verification Results:
git remote -v
lists a remote named origin
with the correct fetch and push URLs.
All verification steps passed!