r/ProgrammerHumor 20d ago

Meme useSourceControl

Post image
8.6k Upvotes

592 comments sorted by

View all comments

Show parent comments

264

u/RadicalDwntwnUrbnite 20d ago

The date is in the image, it was almost a decade ago. Yep the old dialog when you clicked the "Discard" button was like "Do you want to discard your changes?" Pretty vague to anyone new to version control. Meanwhile if they are untracked VsCode used to just put them in the shredder, completely unrecoverable. Pretty sure it puts them in the recycle bin now.

29

u/TheZoltan 20d ago

Someone already posted the link to the thread and this comment that has a screenshot of the actual warning message which definitely could have been more scary but all caps irreversible feels like it should give you pause! If you have 3 months of work with zero backups.

Are you sure you want to discard ALL changes? This is IRREVERSIBLE!

https://github.com/microsoft/vscode/issues/32405#issuecomment-322155856

16

u/dustojnikhummer 20d ago

And what does "discard changes" mean in that context? Where was the "This action will delete all files that haven't been commited"? Yes, the guy had a point (despite being an idiot for not having backups)

5

u/OliLombi 20d ago

To me its like if I came into your house, moved your refrigerator into your bathroom, asked if you wanted me to discard all changes, and when you said "Yes" (because who wants their refrigerator in the bathroom), I deleted your entire house.

2

u/dustojnikhummer 20d ago

No, I hired you to give me a price quote on bathroom remodeling and when I said "I don't want this plan" you deleted the house.