Last Updated: February 25, 2016
·
246
· umami

Check which branches a commit is in

If you need to check which branches a specific git commit has been merged to:

git branch --contains {sha-1}

For remote branches:

git branch -r --contains {sha-1}