Created
May 14, 2015 21:30
-
-
Save brev/b65565df93e9acbc9ed1 to your computer and use it in GitHub Desktop.
Git checkout remote branch and track
This file contains hidden or 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
# Checkout remote branch and track (without renaming needs) | |
git fetch origin | |
git checkout --track origin/branchname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment