Reputation: 11827
I would like to do something like git log, but I would like to see only tagged commits. I would like to see there tags, and when they were committed.
Any ideas?
Upvotes: 3
Views: 91
Reputation: 139411
Use git-for-each-ref
, as in the following:
$ git for-each-ref --count=3 --sort='-*authordate' refs/tags |
while read sha1 objtype refname; do
echo "$refname - $sha1"
GIT_PAGER=cat git log -1 $sha1
echo
done
Upvotes: 2
Reputation: 7142
git tag -n will list the commit comments next to the tags, but no dates.
Upvotes: 0