this post was submitted on 23 Jun 2026
121 points (92.9% liked)

Programmer Humor

33743 readers
2149 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 3 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] con_fig@programming.dev 71 points 4 months ago (1 children)

πŸ‘ Learn πŸ‘ to πŸ‘ squash πŸ‘ those πŸ‘ commits πŸ‘

[–] fibojoly@sh.itjust.works 19 points 4 months ago

Seriously. My colleague does the same shit and it made me so mad until I realised he was on his branch. Then I was like, whatever, as long as you do a proper MR.

[–] AstroLightz@lemmy.world 40 points 4 months ago (1 children)

You don't just write your entire project, then make your first commit?

/j

[–] towerful@programming.dev 39 points 4 months ago (13 children)

Yeh I use git (git commit --amend)

[–] Archr@lemmy.world 5 points 4 months ago* (last edited 4 months ago)

git commit --amend --no-edit and git push --force-with-lease

No-edit skips opening an editor for the commit message and just reuses the same message.

Force-with-lease will force push but only if your local is not missing commits that remote has. Ie other people haven't pushed anything since you last pulled.

load more comments (12 replies)
[–] exu@feditown.com 26 points 4 months ago (18 children)

rebase & fixup or reset are your friends

[–] jerkface@lemmy.ca 16 points 4 months ago (1 children)

I love editing history. Fix the bug in the change that introduced it!

[–] we_need_more_dwellings@piefed.world 15 points 4 months ago (2 children)

Then force-push, and fuck up someone's day!

[–] thoughtfuldragon@lemmy.blahaj.zone 14 points 4 months ago* (last edited 4 months ago) (11 children)

git branches are free
work in your tree
til the changes are ready
300 git push --force-with-lease a day and nobody mad

load more comments (11 replies)
load more comments (1 replies)
load more comments (17 replies)
[–] olenkoVD@lemmy.dbzer0.com 23 points 4 months ago (1 children)
[–] somegeek@programming.dev 19 points 4 months ago

A dev on windows? Of course that's your git log!

[–] copacetic@discuss.tchncs.de 17 points 4 months ago

Looks like a normal branch where someone debugs some GitHub workflow.

[–] Witchfire@lemmy.world 13 points 4 months ago

You need to learn refactoring/squashing

[Test] around and find out

[–] one_old_coder@piefed.social 13 points 4 months ago (1 children)

Is it humor because we make fun of you?

[–] Gonzako@lemmy.world 6 points 4 months ago

More like laughs out of relatability. Tho I am getting dogpiled for the industry standard practice of using what the company provides.

[–] tdgoodman@lemmy.dbzer0.com 12 points 4 months ago

I cannot give you a 100% for consistency. You have three inconsistent check in messages: 'tet', 'FueraEstanciaRowRename', and 'Revert "test"'. You must be uniformly informative with your messages.

[–] leo85811nardo@lemmy.world 6 points 4 months ago

Me when learning GH Actions/CI/CD

[–] folekaule@lemmy.world 6 points 4 months ago

I see I'm not the only one fighting with CI/CD pipelines.

[–] Luminous5481@anarchist.nexus 6 points 4 months ago

nonsense, I would never use windows

[–] asudox@lemmy.asudox.dev 5 points 4 months ago

my private repo is filled with "stuff", "more stuff", "new stuff", "changes" commits.

[–] python@lemmy.world 4 points 4 months ago

well yeah, in an enterprise project we would say "chore(test)". Semantic release ftw!

[–] the_beber@feddit.org 4 points 4 months ago (1 children)

Whenever I work on something, I donβ€˜t intend on publishing, I use What the commit.

load more comments (1 replies)
[–] slazer2au@lemmy.world 3 points 4 months ago (4 children)

Small incremental changes are good.

load more comments (4 replies)
load more comments
view more: next β€Ί