this post was submitted on 01 Jan 2026
226 points (99.6% liked)

Programmer Humor

28439 readers
2177 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
 
top 5 comments
sorted by: hot top controversial new old
[–] pivot_root@lemmy.world 30 points 1 week ago

Solution:

git commit --amend
git push --force

Problem:

The process of discovering best practices on how to keep a clean git history is a goddamned challenge.

[–] kora@sh.itjust.works 9 points 1 week ago (1 children)

Don't waste your precious build minutes: act, gitlab-ci-local.

[–] technom@programming.dev 10 points 1 week ago

I find it infuriating that they didn't design CI to run locally first and then offer a hosted version of it. These tools are not the perfect alternatives for the real thing.

[–] exu@feditown.com 8 points 1 week ago

That's why I use a separate branch. Use rebase or reset depending on what exactly you need to clean up when it's working.

[–] BootLoop@sh.itjust.works 3 points 1 week ago

Yeah that's me some days at work