git branch --contains v1.0.0

Category: Git - Core

git branch --contains v1.0.0

List branches that contain a commit

Shows every branch that includes the given commit or tag in its history. It is the reverse lookup to git tag --contains. Useful for checking which branches already picked up a fix.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.