02 Jul 2012

GitX branches containing a commit

Our team usually use laullon’s gitx fork as a git GUI on OSX and so far it has worked brilliantly. However as we started to use many branches recently, after a while it got hard for everyone to see which commit belonged to which branch and whether/where it was merged into.

GitX branches - The next train to origin/master departs from platform 5

So I went ahead and added a simple function to get the branches that contain a selected commit. Just right click on any commit, select “Containing Branches” and you’ll get a list of branches that contain that commit.

In the background it just calls git branch -r --containing abcd1234

GitX containing branches

GitX branch list

Get the source and binary build (OSX 10.6+) from github:


blog comments powered by Disqus