this post was submitted on 03 Mar 2024
1098 points (97.8% liked)

Programmer Humor

19589 readers
2075 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
[–] redcalcium@lemmy.institute 179 points 8 months ago* (last edited 8 months ago) (45 children)

Interviewer: It's git push origin main now. Get out of here!

[–] RustyNova@lemmy.world 6 points 8 months ago (13 children)

Fuck those that use main. If you're working on a library fork that has main and a project that has master you're bound to invert the two.

"What do you mean I can't checkout main? Oh right, here it's master..."

For once that we had a standard, it had to be ruined.

[–] BatmanAoD@programming.dev 8 points 8 months ago (4 children)

git checkout ma<tab>

If you don't have autocomplete set up for your shell, get it working. If someone has a different branch named ma..., ask if you can delete it, and get your team to adopt a decent branch naming convention.

[–] Nalivai@discuss.tchncs.de 3 points 8 months ago (1 children)
git checkout ma<tab>

mai_new_chenges 
march_deploy_second_final_final_fixed      
main_fixes       
mast_not_farget_to_delete_it
[–] BatmanAoD@programming.dev 1 points 8 months ago (1 children)

...yeah, I already said that if there is another branch starting with those letters it should be deleted. You need a naming convention.

[–] Nalivai@discuss.tchncs.de 2 points 8 months ago (1 children)

I really wish to work in a team where people have naming conventions for branches that are concerned about stuff like that. Must've been a nice place to work at.

[–] BatmanAoD@programming.dev 1 points 8 months ago

Whoever named the "final final fixed" one seems to have missed the point of version control. 😑

load more comments (2 replies)
load more comments (10 replies)
load more comments (41 replies)