You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
If I'm looking through recent commits and find a hunk I want to reverse, I don't think there's currently a way to easily do so outside of taking note of the filename and line number and manually changing it.
Describe the solution you'd like
Like staging/unstaging sections by just hovering over the hunk and pressing s or u, it would be nice to be able to reverse a hunk to a previous commit's state by hovering over that hunk and pressing some key combination.
Describe alternatives you've considered
Manually changing the lines in question is what I usually wind up doing, but the following command does similar to what I was thinking:
With the caveat that the above command will interactively walk through all of the hunks rather than being able to just select the one.
Additional context
I don't use emacs, so I couldn't confirm if this is exactly what I was thinking of, but it does seem like magit has this feature here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
If I'm looking through recent commits and find a hunk I want to reverse, I don't think there's currently a way to easily do so outside of taking note of the filename and line number and manually changing it.
Describe the solution you'd like
Like staging/unstaging sections by just hovering over the hunk and pressing
s
oru
, it would be nice to be able to reverse a hunk to a previous commit's state by hovering over that hunk and pressing some key combination.Describe alternatives you've considered
Manually changing the lines in question is what I usually wind up doing, but the following command does similar to what I was thinking:
With the caveat that the above command will interactively walk through all of the hunks rather than being able to just select the one.
Additional context
I don't use emacs, so I couldn't confirm if this is exactly what I was thinking of, but it does seem like magit has this feature here.
The text was updated successfully, but these errors were encountered: