skip to content
Alvin Lucillo

Show full metadata of a tag's commit

/ 1 min read

If you have existing tags, you might want to see the full details of the commit associated by the tag. Suppose we have this tag 1.0.0.

--quiet suppresses the diff (the file changes) -pretty=fuller shows extra details

git show --quiet --pretty=fuller 1.0.0

tag 1.0.0
Tagger:     Alvin <emailhere>
TaggerDate: Mon Sep 15 20:57:44 2025 +0800

Test v1

commit ec70fd633c721cea01b1833e84bda559255574e8 (HEAD -> main, tag: 1.0.0, origin/main, origin/HEAD)
Merge: 34188b6 eefdd26
Author:     Alvin <emailhere>
AuthorDate: Sun Sep 14 21:19:23 2025 +0800
Commit:     Alvin <emailhere>
CommitDate: Sun Sep 14 21:19:23 2025 +0800

    Merge branch 'main' of github.com:repohere
(END)