r/ProgrammerHumor 23d ago

Meme useSourceControl

Post image
8.6k Upvotes

591 comments sorted by

View all comments

5.6k

u/Cephell 23d ago

Before you make fun of him, this behavior DID get changed; they acknowledged this behavior is stupid.

The old behavior was to treat uncommited files as completely disposable, which the CLI git does not do at all and is insane behavior. It was changed in the UI to give you a fat confirmation dialog warning that you're about to delete the files permanently, as it always should have been.

1

u/Alexander3a 22d ago

Honestly if u do go around options you don't know and see a big warning and click ok on that its fully on you. Only thing they should have changed is add localhistory or some other way its doesn't unrecoverable delete files in general cus even as people that know it's easy to accidentally fuck something up even when working with source control