this post was submitted on 23 Jun 2026
122 points (92.4% liked)

Programmer Humor

32523 readers
611 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 73 points 1 month ago (1 children)

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

[–] fibojoly@sh.itjust.works 19 points 1 month 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.

[–] towerful@programming.dev 40 points 1 month ago (13 children)

Yeh I use git (git commit --amend)

[–] Archr@lemmy.world 5 points 1 month ago* (last edited 1 month 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)
[–] AstroLightz@lemmy.world 40 points 1 month ago (1 children)

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

/j

[–] irelephant@lemmy.dbzer0.com 17 points 1 month 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 1 month ago

That's all I ever commit

[–] exu@feditown.com 27 points 1 month ago (18 children)

rebase & fixup or reset are your friends

[–] jerkface@lemmy.ca 17 points 1 month ago (1 children)

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

[–] we_need_more_dwellings@piefed.world 16 points 1 month ago (2 children)

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

[–] thoughtfuldragon@lemmy.blahaj.zone 15 points 1 month ago* (last edited 1 month 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 1 month 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 24 points 1 month ago (1 children)
[–] somegeek@programming.dev 20 points 1 month ago

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

[–] copacetic@discuss.tchncs.de 17 points 1 month ago

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

[–] one_old_coder@piefed.social 14 points 1 month ago (1 children)

Is it humor because we make fun of you?

[–] Gonzako@lemmy.world 6 points 1 month ago

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

[–] Witchfire@lemmy.world 13 points 1 month ago

You need to learn refactoring/squashing

[Test] around and find out

[–] tdgoodman@lemmy.dbzer0.com 12 points 1 month 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 1 month ago

nonsense, I would never use windows

[–] folekaule@lemmy.world 6 points 1 month ago

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

[–] leo85811nardo@lemmy.world 6 points 1 month ago

Me when learning GH Actions/CI/CD

[–] asudox@lemmy.asudox.dev 5 points 1 month ago

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

[–] the_beber@feddit.org 4 points 1 month 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 1 month ago

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

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

Small incremental changes are good.

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