开发者

How do you get the git branch name for a given shasum?

For example 开发者_高级运维I have this commit fa33745860726a363287962232787f23585a46e9, I want to know which branch it belongs to.


This should do it:

$ git branch --contains fa33745860726a363287962232787f23585a46e9
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜