大家好!
想调整下 git log 的输出格式,man git-log, 有看到 pretty 有如下说明:
format:<format-string> 章节下面:
%(describe[:options])
human-readable name, like git-describe(1); empty string for undescribable
commits. The describe string may be followed by a colon and zero or more
comma-separated options. Descriptions can be inconsistent when tags are added
or removed at the same time.
? tags[=<bool-value>]: Instead of only considering annotated tags, consider
lightweight tags as well.
请问有哪位知道如何把 当前提交最新 的 tags 版本号显示出来吗?
--
FROM 111.55.137.*