Created
December 20, 2013 05:18
-
-
Save baijian/8050664 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git remote show origin | |
If the remote branch you want to checkout is under "New remote branches" and not "Tracked remote branches" then you need to fetch them first: | |
git remote update | |
git fetch | |
Now it should work: | |
git checkout -b local-name origin/remote-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment