Find branch which contains a commit
You found a commit (maybe via git log -G ...) and now you want to know which branches contain this
commit:
git branch --contains 684d9cc74d2
Works for git tags, too:
git tag --contains 684d9cc74d2
You found a commit (maybe via git log -G ...) and now you want to know which branches contain this
commit:
git branch --contains 684d9cc74d2
Works for git tags, too:
git tag --contains 684d9cc74d2