this post was submitted on 20 Nov 2024
473 points (100.0% liked)

Programmer Humor

421 readers
38 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 1 year ago
MODERATORS
(page 2) 32 comments
sorted by: hot top controversial new old
[–] jlow 28 points 1 day ago (1 children)

Backups, backups, backups.

[–] filcuk@lemmy.zip 3 points 1 day ago

Like, damn son, at least make a daily archive of your project??
You have to expect things to go wrong, otherwise you have no one but yourself to blame.

[–] GammaGames 21 points 1 day ago

Screenshots of git issues are one of my favorite genres of meme

[–] sabreW4K3@lazysoci.al 18 points 1 day ago (2 children)

Doing a git clean is a dick move.

[–] BatmanAoD@programming.dev 13 points 1 day ago (1 children)

The user clicked an option to "discard" all changes. They then got a very clear pop-up saying that this is destructive and cannot be undone (there's a screenshot in the thread).

[–] Peer@discuss.tchncs.de 20 points 1 day ago (1 children)

I very much understand how one can think this would revert any changes done to files under version control but not delete the ones that are not. I believe this dialog has since been updated to explicitly state that fact.

[–] BatmanAoD@programming.dev 7 points 1 day ago

Yes, the dialog was changed, as part of this linked issue (and maybe again after that; this whole incident is very old). After reading some of the comments on that issue, I agree with the reasoning with some of the commenters that it would be less surprising for that menu option to behave like git reset --hard and not delete tracked files.

[–] astrsk@fedia.io 5 points 1 day ago

Yeah, real developers do git clean -dxf.

Often times, people learn that the stove is hot by touching it.

It's easier to blame the stove than the person who touched it. But if you laugh when you watch it happen, you're probably not laughing at the stove.

[–] josefo@leminal.space 4 points 1 day ago (3 children)

Fuck around things you don't understand, find out. Why even go near the source control area and start clicking stuff if you don't know jack shit about it.

load more comments (3 replies)

please fix uwu

[–] parpol@programming.dev 2 points 1 day ago

Maybe he would prefer perforce.

[–] lseif@sopuli.xyz 1 points 1 day ago

is op stupid ?

load more comments
view more: ‹ prev next ›