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

git branch -r --contains COMMIT_ID
posted @ 2020-01-04 17:52  qiqi715  阅读(3292)  评论(0编辑  收藏  举报