Created
June 19, 2017 19:59
-
-
Save VojtechVitek/da3077b950f7e3b52be1443dfa514f5b to your computer and use it in GitHub Desktop.
git checkout Github Pull Request locally
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
| git config --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*' | |
| git fetch | |
| git checkout -t origin/pr/12 | |
| # Based on https://gist.github.com/piscisaureus/3342247 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment