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 trialBubacarr Sowe
7,652 PointsPulling latest changes from master
I am stuck with this question:
Now that you've got my remote added to your repository, what command would you run to pull my latest changes from master?
I know the 'git pull' is he right command but couldn't get the rest of the argument correct. Thanks for helping.
3 Answers
Tim Knight
28,888 PointsSo in this case since the name of the remote is tommy
you'd use: git pull tommy master
Tim Knight
28,888 PointsIn practice git pull
will automatically pull from origin
I believe, but you might try git pull origin master
.
Bubacarr Sowe
7,652 PointsThanks Tim. Unfortunately it is not working. Having this error: git pull is the right command, but your arguments are off. Make sure you have the right branch name (master) and/or remote name (tommy).
Tim Knight
28,888 PointsCan you provide the link to the challenge you're working on?
Bubacarr Sowe
7,652 PointsBubacarr Sowe
7,652 PointsThanks once again Tim. That worked.
Tim Knight
28,888 PointsTim Knight
28,888 PointsNo problem at all! I'm glad I could help.