Find out branches containing a commit

If you have a commit and you want to see in what branches is is included, you have to write this:

git branch -r --contains [COMMIT-SHA]

-r is for remote

Dragos Miron over 8 years ago
This website uses short-lived cookies to improve usability.
Accept or learn more