Can I affect the order / column of branches displayed in gitk and Eclipse Egit

When I run gitk --all I get a good summary of commits / branches / tags for the entire repo.

However, the way the branches are displayed is not always consistent, and it is also different from the method that Egit uses in the Eclipse history panel.

Is there a way to control column ordering for both / both of gitk and egit?

In particular, I would like to always have commits to control in the first (left) column.

(If possible, I would need to rotate 180 degrees of the nvie diagram, but just with a sequential order with the master on the left would be enough.)

I read that gitk accepts most of the git-log options, so I checked its man page, but couldn't figure out what (if any) options. (And if this is the correct route, how could I use these options?)

+8
source share
1 answer

git does not store "branchname" as metadata inside commits, so it really does not know about the branch of any old commit. If you start with --all I'm afraid there is no support for getting different branches for any given order in the user interface. However, theoretically, this can be done, at least for the part that provided the branches in the indicated columns on the displayed display. It appears that the current behavior always starts with the most recent commit and puts it in the upper left position of the display. If you select all branches, it will be any branch that turns out to end there.

0
source

All Articles