• Traister101@lemmy.today
    link
    fedilink
    arrow-up
    0
    ·
    17 days ago

    / is used to separate the same branch in different repos. For example origin/main and remote/main. Surprising that the other stuff is legal though

    • bamboo@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      17 days ago

      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.