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

Programmer Humor

19804 readers
889 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] BatmanAoD@programming.dev 8 points 9 months ago (1 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 9 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 9 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 9 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 9 months ago

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