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

Programmer Humor

19564 readers
635 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] 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.

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

git checkout ma

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.

[–] [email protected] 3 points 8 months ago (3 children)
git checkout ma

mai_new_chenges 
march_deploy_second_final_final_fixed      
main_fixes       
mast_not_farget_to_delete_it
[–] [email protected] 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.

[–] [email protected] 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.

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

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

load more comments (1 replies)
load more comments (1 replies)
load more comments (9 replies)