this post was submitted on 10 Jul 2025
460 points (96.2% liked)

memes

16587 readers
2498 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
 

Rolling, rolling, rolling back nothing I love more than communicating why we had to roll back again (⁠ノ⁠ಠ⁠益⁠ಠ⁠)⁠ノ

you are viewing a single comment's thread
view the rest of the comments
[–] kkj@lemmy.dbzer0.com 21 points 3 weeks ago (2 children)

Fix your shit and it won't stop you from committing.

It's also usually only on certain branches, so you can make a branch where you break things and then fix them before you merge to testing/main/whatever.

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

TIL precommit hooks can be set per branch. I was being facetious to begin with but this sounds pretty good actually.

[–] chellomere@lemmy.world 1 points 3 weeks ago (1 children)

Nah, at our place it's applied on all branches...

[–] kkj@lemmy.dbzer0.com 2 points 3 weeks ago (2 children)

What do you do if you have code that isn't complete enough to work? Do you have to just leave it untracked?

[–] chellomere@lemmy.world 2 points 3 weeks ago

I don't know what others do, but I personally whip out git commit -n and bypass the hooks in this situation.