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

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 96 points 11 months ago (5 children)
[–] [email protected] 68 points 11 months ago (3 children)

With 400 lines changed over 50 files

[–] [email protected] 36 points 11 months ago (1 children)
[–] [email protected] 19 points 11 months ago

“feat: stuff”

Guilty of this one myself.

[–] [email protected] 13 points 11 months ago

I had a commit recently that was like 2000 lines changed over 6 files. Really should have been a smaller issue.

[–] [email protected] 4 points 11 months ago

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.

[–] [email protected] 14 points 11 months ago (1 children)

"Bits were fiddled, possibly in the right way"

[–] [email protected] 2 points 11 months ago

My butterfly was having a bad day so I can't be sure, sorry

[–] [email protected] 12 points 11 months ago (1 children)

'Change' if I'm feeling particularly chaotic.

[–] [email protected] 13 points 11 months ago (1 children)
[–] [email protected] 3 points 11 months ago (1 children)

Make a cron job for git add . && git commit "$(date)" && git push -f

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago)

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.

[–] [email protected] 2 points 11 months ago

See jira-blah: is my go-to. Sometimes there's even a jira at that location/number 🤔

[–] [email protected] 0 points 11 months ago* (last edited 11 months ago)

'fixed odd or even function for values 600 to 950, plus other stuff I forgot to commit earlier'