Created
September 19, 2018 20:24
-
-
Save pstorch/dab3074560ec6d4a43ba9ff5d7130fed to your computer and use it in GitHub Desktop.
Git fetch pull request
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_fetch_pull_request() { | |
git fetch origin refs/pull/$1/head:pr/$1 | |
git checkout pr/$1 | |
} | |
alias gpr='git_fetch_pull_request' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment