this post was submitted on 06 Oct 2025
848 points (96.7% liked)

Programmer Humor

30262 readers
2042 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
 

Yeah learned this the hard way.

(page 3) 37 comments
sorted by: hot top controversial new old
[–] laserm@lemmy.world 1 points 5 months ago
[–] ranzispa@mander.xyz 1 points 4 months ago

The main reason I use git is it allows me to make mistakes without hard consequences. Any fuckup is just one reset away from being fixed. I like to: I have to fix this thing. While attempting to fix it I discover there is another thing that needs fixing on which everything revolves. I fix the second thing and commit. I'm now free to fuck around the code all I want and I'm sure I won't lose that fix.

For this I really like to use --fixup when I find out the change was not completely right or does not fit well with some other changes I need to do. I really like git absorb which automates this a bit.

[–] thatradomguy@lemmy.world 1 points 5 months ago
[–] alsimoneau@lemmy.ca -4 points 5 months ago

And this is why mercurial is king. It just works.

load more comments
view more: ‹ prev next ›