本文介绍了看看Git中的标签有哪些修订版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
初学者问题:
在世界中, hg标签
给我一个标签列表和相应的修订版本,而 git tag
只列出标签名称。如何查看匹配的rev number / hash是什么?
解决方案
有关与该标记相关的完整信息, p>
git show v1.5
或者你可以通过命令看到轻量级的信息,跳过细节
git show v1.5 -lw
Beginner Git question:
In the Mercurial world, hg tags
gives me a list of tags and the corresponding revisions, whereas git tag
only lists the tag names. How do I see what the matching rev number/hash is?
解决方案
For full information associated with that tag, use command
git show v1.5
Or you can see the lightweight information, skipping details, by command
git show v1.5 -lw
这篇关于看看Git中的标签有哪些修订版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!