altsem / gitu

A TUI Git client inspired by Magit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is `git revert` possible?

TheLostLambda opened this issue · comments

Hi @altsem ! I could just be missing the option, but is it possible through the UI to create a revert commit?

I've seen there are a couple of reset options, but I don't know if those are quite what I'm looking for?

It is not implemented yet, but should be possible to implement!
Would probably want to implement a "reverting" state for the status page (as done for rebase/merge status here 🙈 ).

There's two different keybindings in Magit to revert things. I'm not all too familiar with them, but 'V' seems to revert only commits (with more options?). And 'v' is more flexible, able to revert commits, reverse single hunks or lines.

relates to #18