porcupine
porcupine copied to clipboard
Discarding non-added changes accidentally
The git restore button in the right-click menu of the directory tree is kinda dangerous:

It tells Git to restore the file to the version of it that was last git added, or the previous commit if you haven't used git add. This means you permanently lose any un-git added changes to the file (unless you happen to have the file open in Porcupine and you press Ctrl+Z).
IMO there should be a dialog that asks whether you really want to run git restore, with a checkbox to never show the dialog again, similar to the dialog you get when you use the "Pastebin" menu in the menubar for the first time.