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

Alexander Thomas
Alexander Thomas
7,571 Points

I can't see the new branch that was created in the other remote.

Around 2:15 in the video, the new branch that was created in one remote is seen in the other remote without any steps to "pull" the new branch. I looked online and git pull from remote. Also tried fetch origin. I can see the new branch in the origin repo, but not on the other remote that was created. Thanks in advance.

Laura Steiner
Laura Steiner
14,396 Points

Hi --

I did a quick re-watch of the video, and I only saw two repos. They're both on the same system, but the teacher is treating one as the local and the other as the remote (named the standard "origin") to teach us about working with remote repos.

He creates a branch on the local one, and he pushes that branch to the remote. To show that his push worked, he changes directories to the remote one and lists the contents. The branch he pushed is there.

If you think something different happened, please let me know. Maybe we can figure out where the disconnect is!

Best,

Laura