Created
October 4, 2011 21:22
-
-
Save funkaoshi/1262847 to your computer and use it in GitHub Desktop.
My post-review alias
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
alias pr='post-review --bugs-closed=$(git name-rev --name-only HEAD | sed "s/\(.*\)\([0-9][0-9][0-9][0-9]\)\(.*\)/\2/") --branch=$(git name-rev --name-only HEAD) --tracking-branch=origin/develop --guess-description --guess-summary --open' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Will do a post review, and if the branch is of the form /_name it will pull out enough info to set the bug number as well. It assumes upstream is develop, not master.