Created
December 9, 2013 15:11
-
-
Save mitechie/7873667 to your computer and use it in GitHub Desktop.
Git tricks
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
### | |
### QA a pull request branch on remote: juju | |
### | |
# Pull info on the specified pull request from the origin remote, not your | |
# github fork. The pull request is not on your fork. | |
fetch-pr = "!f() { git fetch $1 refs/pull/$2/head:refs/remotes/pr/$2; }; f" | |
# git qa-pr juju 6 qa-sticky-headers | |
qa-pr = "!sh -c 'git checkout develop; git pull $0 develop; git checkout -b $2; git fetch-pr $0 $1; git merge pr/$1'" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment