Last Updated: February 25, 2016
·
616
· arowla

Find out what git branches hold a particular commit

Great for figuring out when code has accidentally been committed to the wrong branch and where!

git branch --contains <commit>