gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Add "Discard local changes..." to contextual menu in Changes pane.

Open AndreAngelantoni opened this issue 1 year ago • 3 comments

Feature request:

  1. Click on file that has been changed.
  2. Select "Discard local changes..." from the contextual menu.
  3. Agree to confirmation dialog box.
  4. Revert file to unmodified version.

Wording ("Discard local changes...") comes from Git Tower.

AndreAngelantoni avatar Feb 13 '24 21:02 AndreAngelantoni

This would be very useful. Especially when you run into a situation with an illegal state (like a change being on 2 branches after moving it)

nbrugger-tgm avatar Feb 19 '24 11:02 nbrugger-tgm

As of Version 0.11.3 (20240419.070253), there now a way to do that.

Screenshot 2024-04-21 at 16 47 12

Does that resolve this issue?

Byron avatar Apr 21 '24 14:04 Byron

Yes, this is what I wanted (alto bulk would be nice)<

But imo this can be closed

nbrugger-tgm avatar Apr 30 '24 08:04 nbrugger-tgm

thanks for the feedback! closing now

krlvi avatar Aug 15 '24 13:08 krlvi