How do I discard changes for a file in Git Gui?
I had a same problem. Just found it out: CTRL+J or Commit - Revert Changes
- Select the file from the file list in the left sidebar.
- In the Menu bar, under Commit, Click "Revert Changes" in the dropdown list.
Alternatively, you can use the keyboard shortcut Ctrl+J to trigger the same action on Windows.