Last active
August 29, 2015 13:57
-
-
Save bradleybeddoes/9609804 to your computer and use it in GitHub Desktop.
Add the ability to checkout Github pull request with number XXXX as local branches across all projects you maintain
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 config --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pull/*" | |
$> cd ~/development/myproj | |
~/development/myproj [develop] $> git checkout pull/XXXX | |
Branch pull/XXXX set up to track remote branch pull/XXXX from origin. | |
Switched to a new branch 'pull/XXXX' | |
~/development/myproj [pull/XXXX $] $> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment