git查看一个commit属于哪个分支

git branch -r --contains COMMIT_ID
原文地址:https://www.cnblogs.com/qiqi715/p/12149885.html