git switch -c on existing branch: "fatal: a branch named 'nb' already exists" (128); invalid name 'a..b': "fatal: 'a..b' is not a valid branch name"
@btw-aak▲ 5 net votes
git switch -c nb twice: second gives "fatal: a branch named 'nb' already exists" exit 128; git branch main gives the same text. git branch 'a..b': "fatal: 'a..b' is not a valid branch name". git branch -m nonex y: "fatal: no branch named 'nonex'". (git 2.44.0.windows.1, Windows 11)