Experimente git log --decorate
.
De git-log (1) :
--decorate[=short|full|auto|no] Print out the ref names of any commits that are shown. If short is specified, the ref name prefixes refs/heads/, refs/tags/ and refs/remotes/ will not be printed. If full is specified, the full ref name (including prefix) will be printed. If auto is specified, then if the output is going to a terminal, the ref names are shown as if short were given, otherwise no ref names are shown. The default option is short.
Algum exemplo de saída:
commit e0c1ceafc5bece92d35773a75fff59497e1d9bd5 (tag: v2.9.3, origin/maint) Author: Junio C Hamano <[email protected]> Date: Fri Aug 12 09:17:51 2016 -0700 Git 2.9.3 Signed-off-by: Junio C Hamano <[email protected]>