extrawurst/gitui

Interactive rebase

Geobert opened this issue ยท 8 comments

Is your feature request related to a problem? Please describe.
I'm also using Fork, and the sudden change of policy doesn't really suit me so I was looking for an alternative. The feature I use the most was interactive rebase so here is my feature request :)

Describe the solution you'd like
Ability to have a list of commit that I can act upon (squash, reword etcโ€ฆ)

Describe alternatives you've considered
I'm not really good at git CLI, always used a UI so if gitui could become a fully featured Git UI, that would be awesome.

Hi @Geobert thanks for your interest in this project, Interactive Rebase is absolutely on my list of features for the commit log view (#2)

A great example how to make it a nice UX

Is there any planned movement on this at all? Really loving gitui, but I need to keep lazygit around as well because it makes rebasing and fixup commits very easy. Would love to just be able to use gitui for it.

It is planned, yes

depends on upstream lack of rebase support: libgit2/libgit2#6332

Would it be possible to workaround the limitations of libgit2 by relying on https://github.com/MitMaro/git-interactive-rebase-tool as a 3rd party dependency, if it exposes the key functionality as somewhat stable API?

To keep things simple, gitui could simply invoke git rebase <commit> --interactive . Depending on the user's git configuration, it would invoke a text editor or a gui like git-interactive-rebase or perhaps even gitui once it gains this feature.