Last active
August 29, 2015 14:13
-
-
Save pjcozzi/2706c4e315adf1addc9c to your computer and use it in GitHub Desktop.
Test remote git branch
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 add tmp-remote [remote] | |
git fetch tmp-remote | |
git checkout -b tmp-branch tmp-remote/[branch] | |
// ... | |
git checkout master | |
git branch -d tmp-branch | |
git remote rm tmp-remote |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment