treehouses / treehouses.github.io

A Markdown Wiki for treehouses 🏡
http://treehouses.io
132 stars 107 forks source link

Example error Step 5 #479

Closed dyeh123 closed 4 years ago

dyeh123 commented 4 years ago

Problem

In "Git Repositories, Configure a Remote Repository for Your Fork", example 4 displays

$ git remote -v origin https://github.com/username/username.github.io.git (fetch) origin https://github.com/username/username.github.io.git (push) upstream https://github.com/treehouses/treehouses.github.io (fetch) upstream https://github.com/treehouses/treehouses.github.io (push)

This is a little confusing because I got a different result. For upstream I had

upstream https://github.com/treehouses/treehouses.github.io.git (fetch) upstream https://github.com/treehouses/treehouses.github.io.git (push)

Steps to reproduce the problem

N/A

Screenshots

N/A

Proposed solution

Append "git" to the end of the last two links.

LordJashin32 commented 4 years ago

This is fantastic find. Good job.

dogi commented 4 years ago

@LordJashin32 @dyeh123 both is valid

it depends which of the 2 git clone you used:

git clone https://github.com/treehouses/treehouses.github.io.git
git clone https://github.com/treehouses/treehouses.github.io