JetpackDuba / Gitnuro

A FOSS Git multiplatform client for newbies and pros

Home Page:https://gitnuro.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Selectively revert a comit

adam-ce opened this issue · comments

commented

Is your feature request related to a problem? Please describe.
I'm always frustrated when i want to revert something and several unrelated changes are packed into one commit. it's then hard to revert exactly what i want. basically i have to go manually, or revert all of it, and revert revert what i don't want. then i get confused what is reverted, reverted reverted, and reverted reverted reverted ;)

Describe the solution you'd like
a mode for partial or selective reversion. ideally, there would be a diff from current to a certain commit, and you can click and select which lines are reverted.

Describe alternatives you've considered
manually copying the lines from the commit diff view, or reverting all files from that commit and deal with consequences.

Until I look into it, an easier way would be to simply revert the commit and do a mixed reset to the previous one, then you can decide there what to stage/commit.