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
{{ message }}
Repository navigation
Git discard changes permanantly deletes files on Linux #31479
undo the pending changes, the newly added files will be permanently deleted from the system
Reproduces without extensions: Yes
I don't know why undo/discarding pending changes using the source control built in to VS Code would permanently delete files on linux as opposed to moving them to the trash bin. Lost a few hundred files thanks to this (though I have a backup as of 6 days ago so I'm not at a complete loss).
This feature does work as designed, though. It's what git does. That's why we have the dialog showing up, asking if you are sure. That's why This is IRREVERSIBLE is written in ALL-CAPS.
Activity
joaomoreno commentedon Jul 27, 2017
I'm sorry you lost your changes.
This feature does work as designed, though. It's what git does. That's why we have the dialog showing up, asking if you are sure. That's why
This is IRREVERSIBLEis written in ALL-CAPS.