this post was submitted on 21 Jan 2024
225 points (100.0% liked)

Programmer Humor

854 readers
12 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
[–] rwhitisissle@lemmy.ml 53 points 10 months ago* (last edited 10 months ago) (2 children)

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

git checkout -b dontwritetothisbranchdirectlyyougottaopenaprfirstandhaveitreviewedandapprovedandthenpasstheautomatictests

[–] Kbin_space_program@kbin.social 13 points 10 months ago (4 children)

Git checkout -b neverpushtothisbranchthismeansyou

[–] rwhitisissle@lemmy.ml 5 points 10 months ago (2 children)

Git checkout -b branchprotectiononlyworksifyouarenotsetupwithadminprivilegesontherepoingithubthismeansyouhowardgodammit

[–] WanakaTree@lemm.ee 3 points 10 months ago (1 children)

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

[–] Kbin_space_program@kbin.social 1 points 10 months ago

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

[–] cupcakezealot@lemmy.blahaj.zone 1 points 10 months ago

howard knows what he did

[–] synae@lemmy.sdf.org 5 points 10 months ago

git co -b nevergonnagiveyouupnevergonnaletyoudown

[–] Artyom@lemm.ee 3 points 10 months ago
git checkout -b dontcommitherejerry
[–] cupcakezealot@lemmy.blahaj.zone 2 points 10 months ago

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

[–] masterspace@lemmy.ca 5 points 10 months ago

Still shorter than a java class name.