NeogitOrg / neogit

An interactive and powerful Git interface for Neovim, inspired by Magit
MIT License
3.83k stars 228 forks source link

Rebase modify a commit #1211

Closed kjughx closed 5 months ago

kjughx commented 5 months ago

I often use interactive rebase to make changes to a single commit that's not HEAD. With this change that's possible with "rm" on a selected commit or "rm" will open git log where a commit can be selected.

A naive approach to unit test did not work. There are not enough commits in the "prepare repo" so I added an initial commit, then my test sometimes succeeds but it also causes the test_reword test to fail so there's something that I don't understand.