Created
July 6, 2018 09:52
-
-
Save bisignam/152c61a3146cc0d8460ecc60dd1f0b0d to your computer and use it in GitHub Desktop.
git alias for retrieving all the commits since the last maven release
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] | |
release-commits = "!f() { LAST_RELEASE_HASH=`git log --grep \"prepare for next development iteration\" -n 1 --format=format:\"%h\"`; git log --oneline $LAST_RELEASE_HASH..HEAD; }; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment