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

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

原文地址:https://www.cnblogs.com/dakewei/p/10559017.html