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

how to get into a branch you created after clonning your remote repo

l have cloned a remote git repo and kinda stuck how to get into a branch l created on it. any help would be great. Thanks

1 Answer

type git branch to see all branches and which one you're on. then type git checkout [branch] to switch to the branch you want.

thanks mate another thing is l got both a github account and a bitbucket account. but it keeps signing me to wrong one ow do l sort that out?

I'm not sure I can help with that. I'm new to Git as well. What are you doing that is causing you to sign in to the wrong account? Are you using the command line? What commands are you typing? Are you using a GUI? There are just too many unknowns for me to start speculating.

sortd it thanks for helping tho