877
submitted 7 months ago* (last edited 7 months ago) by Maven@lemmy.zip to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] Havald@lemmy.world 65 points 7 months ago
[-] Beacon@fedia.io 22 points 7 months ago

I don't know anything about programming, i came here from /all, but it seems to me that a command that's this permanently destructive warrants a second confirmation dialog message reminding the user that the files will be permanently deleted and not undoable

[-] CaptDust@sh.itjust.works 8 points 7 months ago

They clicked discard changes, confirmed it, and the computer did as instructed. This operation is normally not so destructive as it only discards uncommitted changes to realign the local directory with the remote server. Unfortunately for user, it sounds like they have never committed a change, so realignment meant reverting to an empty folder.

load more comments (38 replies)
load more comments (38 replies)
this post was submitted on 20 Nov 2024
877 points (97.5% liked)

Programmer Humor

24650 readers
912 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS