• 0 Posts
  • 103 Comments
Joined 1 year ago
cake
Cake day: August 18th, 2023

help-circle


  • If you don’t know what git is, you should probably avoid choosing the “confirm” option when you’re warned that an operation is dangerous.

    That said, I think the change they ultimately made in the linked issue, which words the warning differently and, more importantly, provides an option to only discard changes to already-tracked files, is a vast improvement.


  • That depends on what you map “discard” to in your mental model. Whoever designed the VSCode feature chose to associate it with reset+clean, rather than just reset. Presumably that’s why they called the menu option “discard” rather than “reset”. (But I agree that this is a surprising choice, and that they managed to make an already-famously-bad UX even worse.)