Generated File: Do Not Edit Directly Edit the source files and rerun the generator.
Git Tips Slides
PageUp x2: previous · PageDown x2: next · Home: index

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

Generated File: Do Not Edit Directly Edit the source files and rerun the generator.