2 ms·
I commit often. But I stay away from IDE/Editor implementations of git (vcs commands) in general. It is not always obvious from the UI what is going to happen.
by sumanthvepa 2y ago
I commit often. But I stay away from IDE/Editor implementations of git (vcs commands) in general. It is not always obvious from the UI what is going to happen. And I'm very familar with git and it's internals.
While I think the user who failed to commit 5000 files is probably a bit to blame as well. We do need to acknowledge the the UI prompts are not always intuitive, and dangerous operation should have several safety mechanisms.
- ano-ther 2y agoAgree. The UI prompt was: “Are you sure you want to discard ALL changes. This is IRREVERSIBLE.” This, after the user wanted to stage their files for the first time. What does “changes” even mean in that context? But also trying a new tool on 5k files that aren’t saved elsewhere isn’t advisable.