gitfourchette icon indicating copy to clipboard operation
gitfourchette copied to clipboard

Feature to customize parent levels on git commit graph

Open 4strodev opened this issue 8 months ago • 2 comments

When you are using the git log you can specify an option called --first-parent that allows you to just specify the first parent of a commit allowing you to visualize a linear git log.

Without first parent Image

With first parent Image

Tools like git kraken allow you to customize this in the git commit graph.

Also, an option to just view a single branch would be useful instead of having to deselect all branches that I don't want to see on the graph.

Image

4strodev avatar Apr 28 '25 09:04 4strodev

I added "Hide All But This" per your suggestion in v1.3.0: Image As a shortcut, you can also middle-click the eye icon to toggle this mode.

As for your other request - I agree it would be nice to be able to fold non-linear branches. I'll think of some way to expose this in the UI for a future release.

jorio avatar May 04 '25 09:05 jorio

This is a really QOL enhancement which I have also wished for with some of our more active projects. Thank you!

cornelius-dol avatar May 05 '25 21:05 cornelius-dol