I am migrating from Mercurial to Git.
Is there an equivalent command in git that do the same as the following Mercurial command:
hg tags --debug
Thanks
hg tags
list tags so I guess hg tags --debug
is hg tags --verbose
. In git
it's roughly equivalent to
git tag --list -n1
See https://git-scm.com/docs/git-tag#Documentation/git-tag.txt--nltnumgt
Upd. My guess about --debug
was wrong. Let's fix it:
git tag -l --format='%(refname) -> %(*objectname)'