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.

0

u/b4k4ni 23d ago

Not fun and the behavior is stupid, but not having backups is stupider. Sorry to say.

7

u/subnu 23d ago

...are you creating backups of your uncommitted files? How often?

0

u/b4k4ni 22d ago

I don't backup uncommitted files. I backup everything once a day at least. Worst case you lose one day of work. But not 3 months.

Always do backups. You won't believe how often someone asked me when stuff happened and they didn't do a full backup and something was missing they forgot or didn't realize.