Posted over 9 years ago. Visible to the public. Repeats.

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

Owner of this card:

Dragos Miron
Last edit:
over 4 years ago
branch, branches, commit, commits, contain, find, git
Posted by Dragos Miron to HouseTrip Deck
This website uses short-lived cookies to improve usability.
Accept or learn more