You can still freely use / in branch names. Having remote branches available as remote/branch is just a convenience, and you can delete or modify them locally. It’s common to use / in branch names, too.
That’s true, i didn’t think about that when I wrote it.
I’m used to the world being pretty simple though, so for me that slash has always just been a visual representation of the location of the branch if that makes sense. We don’t have to have a slash in the branch name, only to use it to represent where that branch is located. It could have been something git only used for presentation.
/
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
That’s true, i didn’t think about that when I wrote it.
I’m used to the world being pretty simple though, so for me that slash has always just been a visual representation of the location of the branch if that makes sense. We don’t have to have a slash in the branch name, only to use it to represent where that branch is located. It could have been something git only used for presentation.