是否有可能找出谁在 Git 中创建了标签?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6770298/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is it possible to find out who created a tag in Git?
提问by Smashery
Commits obviously have an author associated with them; but is it possible to find out which user created a tag on a Git repository?
提交显然有一个与之相关的作者;但是是否可以找出哪个用户在 Git 存储库上创建了标签?
回答by Lily Ballard
If it's an annotated tag, then yes. You can git show
it just like any other object. If it's a lightweight tag, then I don't believe so. Just one of the reasons why you should always annotate the tags you're going to share.
如果它是带注释的标签,那么是的。您可以git show
像任何其他对象一样使用它。如果是轻量级标签,那么我不相信。这只是您应该始终注释要共享的标签的原因之一。
回答by insomiac
Yes.
-> git tag
then for specific version
是的。
-> git tag
然后是特定版本
-> git show
Refer to github guide
-> git show
参考github指南