this post was submitted on 12 Dec 2023
807 points (99.0% liked)
Programmer Humor
19512 readers
616 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
"Fix"
With 400 lines changed over 50 files
"updates"
“feat: stuff”
Guilty of this one myself.
I had a commit recently that was like 2000 lines changed over 6 files. Really should have been a smaller issue.
Y tho??? Holy shit. Commits should be like functions. One thing and one thing only. Maybe a small group of files like the same change over multiple config files. 50 is insane to me.
"Bits were fiddled, possibly in the right way"
My butterfly was having a bad day so I can't be sure, sorry
'Change' if I'm feeling particularly chaotic.
git commit -m $(date)
Make a cron job for
git add . && git commit "$(date)" && git push -f
I actually did this once...I swear there was a good reason. I promise it wasn't anywhere that mattered.
Edit: I think it was a personal journal repo that I wanted daily versions of, but couldn't be bothered to actually check in.
See jira-blah: is my go-to. Sometimes there's even a jira at that location/number 🤔
'fixed odd or even function for values 600 to 950, plus other stuff I forgot to commit earlier'