Last active
August 29, 2015 14:01
-
-
Save davidfrey/baafc5e2fcd3f88b1341 to your computer and use it in GitHub Desktop.
git last-tag
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] | |
last-tag = !sh -c 'git describe --tags `git rev-list --tags --max-count=1`' | |
stable = !sh -c 'git describe --tags `git rev-list --tags=releases/ --max-count=1`' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When you just want to know what the latest tag was. Helpful usage: