Created
July 29, 2014 16:08
-
-
Save briandailey/bdc1d1b51c5d1767208b to your computer and use it in GitHub Desktop.
gist alias to get a PR where the sha was introduced.
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
[alias] | |
pr = "!f() { git log --merges --ancestry-path --oneline $1..master | grep 'pull request' | tail -n1 | awk '{ print $5 }'; }; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
usage: