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

Programmer Humor

32317 readers
599 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 3 weeks ago (1 children)

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

[–] fibojoly@sh.itjust.works 19 points 3 weeks 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 3 weeks ago (1 children)

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

/j

[–] irelephant@lemmy.dbzer0.com 17 points 3 weeks ago (1 children)

I do kinda do that with the initial commit (don't commit anything until I have something really basic that works). It feels awkward to commit code that does nothing.

[–] wpb@lemmy.world 13 points 3 weeks ago

That's all I ever commit

[–] towerful@programming.dev 39 points 3 weeks ago (13 children)

Yeh I use git (git commit --amend)

[–] Archr@lemmy.world 5 points 3 weeks ago* (last edited 3 weeks 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 3 weeks ago (18 children)

rebase & fixup or reset are your friends

[–] jerkface@lemmy.ca 16 points 3 weeks ago (1 children)

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

[–] we_need_more_dwellings@piefed.world 15 points 3 weeks ago (2 children)

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

[–] thoughtfuldragon@lemmy.blahaj.zone 14 points 3 weeks ago* (last edited 3 weeks ago) (10 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

[–] defaultusername@lemmy.dbzer0.com 3 points 3 weeks ago (1 children)

I prefer to force push directly to the production branch.

computer equivalent of being a nudist

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

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

[–] copacetic@discuss.tchncs.de 17 points 3 weeks ago

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

[–] Witchfire@lemmy.world 13 points 3 weeks ago

You need to learn refactoring/squashing

[–] one_old_coder@piefed.social 13 points 3 weeks ago (1 children)

Is it humor because we make fun of you?

[–] Gonzako@lemmy.world 6 points 3 weeks ago

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

[Test] around and find out

[–] tdgoodman@lemmy.dbzer0.com 12 points 3 weeks 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.

[–] Luminous5481@anarchist.nexus 6 points 3 weeks ago

nonsense, I would never use windows

[–] folekaule@lemmy.world 6 points 3 weeks ago

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

[–] leo85811nardo@lemmy.world 6 points 3 weeks ago

Me when learning GH Actions/CI/CD

[–] asudox@lemmy.asudox.dev 5 points 3 weeks ago

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

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

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

load more comments (1 replies)
[–] python@lemmy.world 4 points 3 weeks ago

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

[–] slazer2au@lemmy.world 3 points 3 weeks ago (4 children)

Small incremental changes are good.

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