this post was submitted on 06 Dec 2024
82 points (97.7% liked)
Programming
17672 readers
51 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I never considered branch names to be a vector, but in hindsight it makes total sense when put into a workflow like that. What possibly surprised me even more, was that branch names weren't limited to basic characters or at least no special signs. I obviously see the case for all the extended characters outside the latin alphabet, such as Chinese characters, but I totally expected restrictions on special symbols like
"
,'
,/
,\
,;
, etc./
is used to separate the same branch in different repos. For exampleorigin/main
andremote/main
. Surprising that the other stuff is legal thoughYou can still freely use
/
in branch names. Having remote branches available asremote/branch
is just a convenience, and you can delete or modify them locally. It’s common to use/
in branch names, too.Okay? I'm well aware. I do so all the time