Created
June 7, 2015 16:54
-
-
Save yukiyan/63f9603abe6caf4aa969 to your computer and use it in GitHub Desktop.
コミットハッシュからPR番号割り出すやつ
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
git log e015e8e..master --merges --ancestry-path --reverse --oneline | head -n1 | awk '{print substr($5, 2)}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment