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>
Written by Alison Rowland
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Branches
Authors

filipekiss
5.435K

zigotica
2.989K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#