How to find out which release(s) contain a given GIT commit?

后端 未结 2 822
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-24 10:42

Someone fixed a bug in HHVM in this commit:

https://github.com/facebook/hhvm/commit/796f986aba300b3f00b9ece0bf654c452ee217be

I want to know if this commit is

相关标签:
2条回答
  • 2020-12-24 11:32

    As pointed out by fellow members in the comments, this is already covered here, and is as easy as:

    git tag --contains <commit>
    
    0 讨论(0)
  • 2020-12-24 11:33

    GitHub now shows you the tags containing a commit automatically when you open a commit (click on the ... to show all tags):

    0 讨论(0)
提交回复
热议问题