Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
My post-review alias
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'

This comment has been minimized.

Copy link
Owner Author

funkaoshi commented May 7, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.