Quote branch name upon remote checkout to allow '&' character in branch names

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Git
    • None
    • Environment:
      Mac OSX - 2.7.1 (159)

      • [OP] Checking out a remote branch containing a '&' character shows "Invalid remote branch". Checkout using terminal with quoted branch names fixes the issue.

      [Brian Ganninger] We’re enforcing the rules outlined here for security: https://git-scm.com/docs/git-check-ref-format …. If memory serves, ‘&’ is below 40 in ASCII. Adding an option to quote is a good enhancement request, there’s a link to the ticket tracker in Help menu.

       

      reference: https://twitter.com/glenncoppens/status/981109739097591810

              Assignee:
              Unassigned
              Reporter:
              Glenn Coppens
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: