-1

How, if possible, to apply patch in reverse with Magit?

xged
  • 1,207
  • 1
  • 14
  • 20

1 Answers1

1

Use v. For more information see the Applying section in the manual.

If you use the Evil package and more specifically evil-magit, then a different key, -, is bound to the revert command. evil-magit's documentation contains a table listing basic key bindings. It also shows what bindings differ between evil-magit and vanilla Magit.

tarsius
  • 8,147
  • 5
  • 32
  • 46
  • 1
    When you want to apply a change in reverse, go to the respective diff in a Magit buffer, and then type `v`. – tarsius Aug 31 '16 at 21:31