Monday, August 30, 2010

HOWTO - list git tags by date

OK, so being new to git, I wanted to get a chronological list of git tags by date, rather than alphabetically, so I tweaked and found this command:

git for-each-ref refs/tags --sort=taggerdate --format="%(refname:short)"

hope it helps someone else ... enjoy!

No comments: