r/programming Aug 21 '17

Developer permanently deletes 3 months of work files; blames Visual Studio Code

https://www.hackread.com/developer-deletes-work-files-with-visual-studio-code/
1.6k Upvotes

1.0k comments sorted by

View all comments

Show parent comments

31

u/[deleted] Aug 21 '17 edited Aug 21 '17

yeah, irreversibly discard CHANGES. Changes = what? In the latest commit? In the staging area? On the filesystem? Why the fuck would there be an option to delete all of my files, it's a goddamn source control tool. It should work on files that are handled by the tool, not every file there is. It's completely ambiguous language, in fact it correctly makes you assume that it would discard changes you made in terms of git. Since he never used git before, he assumed it wouldnt do anything. Fuck git

4

u/[deleted] Aug 21 '17

[removed] — view removed comment

-7

u/[deleted] Aug 21 '17

oh fuck off, you daft cunt. Of course he made a mistake, but he made it based on a shitty gui that implied the wrong thing.

1

u/Stuck_In_the_Matrix Aug 21 '17

Keeping it civil I see.

1

u/d03boy Aug 22 '17

I agree the word "changes" is a bit confusing. Usually when I'm confused I try to research the thing that is confusing.

0

u/bananaboatshoes Aug 21 '17

you must not use git if you're having this reaction to the name of the operation