git如何跨分支查找某个commit所属分支?

答: git branch -a --contains <commit id>

猜你喜欢

转载自www.cnblogs.com/dakewei/p/10559017.html