-
-
Save elmendalerenda/29fe8a5fabf27712c839 to your computer and use it in GitHub Desktop.
find pull request
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