PY-1.4-BP2-MQ10

Objective

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.

Check Spec

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:

  1. Confirm you are in the root directory of your local Pong project repository in your terminal.
  2. (Optional but Recommended) You can run 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.

Implement: Add the Remote

Now, let's implement the solution by adding the remote.

Step by step checklist:

  1. Locate the HTTPS URL for your personal GitHub repository where you want to push this project.
  2. In your terminal, execute the Git command to add a new remote connection.
  3. Name the new remote origin.
  4. Provide the HTTPS URL you located as the address for the origin remote.

The following documentation sections are going to be helpful:

  • Git Remotes

Validate

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:

  • ✅ The output of git remote -v lists a remote named origin with the correct fetch and push URLs. All verification steps passed!

Documentation

Documentation not available for PY-1.4-BP2.