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

Development Tools Git Basics Working With Remote Repositories Pushing and Pulling

git code challenge

Git remote code challenge task 4 of 4 Nick Harmon 2,491 about 2 hours ago

on the Git remote code challenge task 4/4 I can't seem to figure out what git wants from us....I thought git remote pull would work but i keep getting a bummer! message

git pull -m tommy tommy http://tommysgitstuff.com/git_basics

Development Tools Git Basics Working With Remo... Pushing and Pulling what is wrong here?

2 Answers

Stone Preston
Stone Preston
42,016 Points

in task 3 you add a remote and named it tommy using

git remote add tommy http://tommysgitstuff.com/git_basics/cool_stuff.git

in task 4 you need to pull from the master branch of that remote named tommy using git pull

generally a pull looks like

git pull remote_name branch_name

so for task 4 you would use

git pull tommy master
Muhammad Haris Khan
Muhammad Haris Khan
8,587 Points

he did not explain the remote part in the lecture or if i missed it?