“ git的hg标签--debug”

问题描述 投票:0回答:1

我正在从Mercurial迁移到Git。

git中是否存在与以下Mercurial命令相同的等效命令:

hg tags --debug

谢谢

git mercurial
1个回答
0
投票

hg tags列出标签,所以我想hg tags --debughg tags --verbose。在git中,它大致等同于

git tag --list -n1

请参见https://git-scm.com/docs/git-tag#Documentation/git-tag.txt--nltnumgt

Upd。我对--debug的猜测是错误的。让我们修复它:

 git tag -l --format=' %(refname) -> %(objectname)'
© www.soinside.com 2019 - 2024. All rights reserved.