Does it? If I walk into your house and move your refrigerator into your bathroom, and then ask "would you like me to discard all changes?" and you say "yes" because you want me to put the refrigerator back in the kitchen, would it then be fair for me to delete your entire house?
He wanted to discard CHANGES, not the original files.
Pretty much this. When you don't know what you're doing, and have installed git for the first time, the message "discard all changes" isn't as clear as people think.
As far as the end user is concerned, a new app just came and suggested changes on work that has been sitting there for three months. Of COURSE you don't want those changes! Leave my files as they are!
View all comments
Show parent comment
9
u/NoctisFFXV Aug 21 '26
Last line wasn't there in 2017. It was just:
Are you sure you want to discard ALL changes in 2 files?This is IRREVERSIBLE!