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}
Written by Juan Uicich
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#