Create specific git branches using gitx
It happens, the project and the team grows, and now, there’s a bunch of branches in your git repo. It’s called branchitis, and it happens to everyone at some point.
Anyway, so, you open gitx, and all you see is a bowl of spaghetti
So, if you want to see a specific branch, you can call gitx from the command line and specify the branch you want to see
$ gitx feature2
Nothing out of this world here, since you can do the same thing by using the built in dropdown on gitx to select the branch you want to see, but, did you know that you can specify more than one branch?
So, let’s say you want to merge the feature2 and the feature5 branch, but first, you want to see how the branches are related. You can call gitx from the command line and specify both branches as the arguments.
$ gitx feature2 feature5
Then you’d get something like this:
Cool! You can actually read this first hand, and it’s faster than trying to decipher the spaghetti.
In case you’re wondering, yes, you can specify 3 branches, or as many as you’d like to see. Go ahead, try it out.
Hope this helps you in some way,