this post was submitted on 23 Jun 2026
94 points (93.5% liked)

Programmer Humor

31994 readers
309 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 58 points 3 days ago (1 children)

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

[โ€“] fibojoly@sh.itjust.works 16 points 3 days 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 29 points 3 days ago (1 children)

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

/j

[โ€“] irelephant@lemmy.dbzer0.com 14 points 3 days 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 7 points 3 days ago

That's all I ever commit

[โ€“] towerful@programming.dev 25 points 3 days ago (12 children)

Yeh I use git (git commit --amend)

[โ€“] Archr@lemmy.world 4 points 2 days ago* (last edited 2 days 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.

[โ€“] wpb@lemmy.world 1 points 3 days ago

If you're comfortable with whatever text editor vim uses, give git rebase -i a try.

load more comments (10 replies)

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.

[โ€“] exu@feditown.com 19 points 3 days ago (18 children)

rebase & fixup or reset are your friends

[โ€“] jerkface@lemmy.ca 7 points 3 days ago (1 children)

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

[โ€“] we_need_more_dwellings@piefed.world 13 points 3 days ago (2 children)

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

[โ€“] thoughtfuldragon@lemmy.blahaj.zone 8 points 3 days ago* (last edited 3 days 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 16 points 3 days ago (1 children)
[โ€“] somegeek@programming.dev 15 points 3 days ago

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

[Test] around and find out

[โ€“] Witchfire@lemmy.world 9 points 3 days ago

You need to learn refactoring/squashing

[โ€“] one_old_coder@piefed.social 11 points 3 days ago (1 children)

Is it humor because we make fun of you?

[โ€“] Gonzako@lemmy.world 5 points 3 days ago

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

[โ€“] copacetic@discuss.tchncs.de 11 points 3 days ago

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

[โ€“] python@lemmy.world 3 points 3 days ago

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

[โ€“] leo85811nardo@lemmy.world 6 points 3 days ago

Me when learning GH Actions/CI/CD

nonsense, I would never use windows

[โ€“] asudox@lemmy.asudox.dev 4 points 3 days ago

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

git rebase -i [hash of your first commit]

[โ€“] folekaule@lemmy.world 3 points 3 days ago

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

load more comments
view more: next โ€บ