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

Nick Burd
Nick Burd
9,419 Points

GIT REMOTE WORK - PULL

Having an issue with a pull question. I've tried several options

git pull origin git pull /url/

etc.

QUESTION:

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

9 Answers

Nick Burd
Nick Burd
9,419 Points

Got it..

Git Pull Tommy Master

The answer will be git pull tommy master

You don't need to add origin here.

:)

Be careful about pulling changes from a remote server, you probably want instead to fetch and rebase or fetch and merge yourself.

Nick Burd
Nick Burd
9,419 Points

This question confuses me. - Now you can get back to working on your feature. When your feature is finished, what command would you use to finish the feature and merge everything back into master?

William Eccles
William Eccles
4,341 Points

The way the questions are being ordered means that by the time you get to the last question, I'm sure you've forgotten about the first "profiles" feature you created in question one. The question just wants you to finish that feature in the same syntax as you've just closed off the hotfix... git flow feature finish profiles

I stuck on Challenge Task 4 of 4

"Now that you've got my remote added to your repository, what command would you run to pull my latest changes from master?" I have tried "git pull origin tommy" but it doesn't work. Can someone give me a hint or show me an answer please. This problem taking alots of my time. Thanks!!!!

Trong hi, its git pull tommy master that should do....

the wanted answer is: git pull tommy master happy coding

Chris Lenfert
Chris Lenfert
4,075 Points

I was confused by the phrase "pull my latest changes from master". I read this as "Pull from master" but really it's "Pull from tommy (the new remote repo) into master"

So git pull tommy master makes sense when you read it as the later.