this post was submitted on 21 Jan 2024
355 points (91.2% liked)

Programmer Humor

32831 readers
560 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 65 points 11 months ago* (last edited 11 months ago) (2 children)

Instead of either, it's good to have a more descriptive primary branch:

git checkout -b dontwritetothisbranchdirectlyyougottaopenaprfirstandhaveitreviewedandapprovedandthenpasstheautomatictests

[–] [email protected] 15 points 11 months ago (4 children)

Git checkout -b neverpushtothisbranchthismeansyou

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

git co -b nevergonnagiveyouupnevergonnaletyoudown

[–] [email protected] 7 points 11 months ago (2 children)

Git checkout -b branchprotectiononlyworksifyouarenotsetupwithadminprivilegesontherepoingithubthismeansyouhowardgodammit

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

Y'all. At least put some dashes between the words

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

Oh of course. But I was following the code standard set by the first one. I suspect everyone else was too.

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

howard knows what he did

[–] [email protected] 6 points 11 months ago
git checkout -b dontcommitherejerry
[–] [email protected] 2 points 11 months ago

git commit -m "that sign can't stop me because i can't read"

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

Still shorter than a java class name.