Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

YI JIANG
YI JIANG
3,424 Points

Now that you've got my remote added to your repository, what command would you run to pull my latest changes from master

git pull origin master is wrong ! what is the answer?

1 Answer

Sean Reinhardt
Sean Reinhardt
18,811 Points

The git pull command takes two arguments, a remote repository and a branch, as such: git pull {remote} {branch}

The branch you used, master, is correct. For the remote repository, the code challenge defines "origin" as your remote repository. However in step 3 you added second remote repository, and thats the repository you want to pull from instead of origin