I'm not sure how it happened, but I somehow created a local git branch with a strange character in the branch name. When I type git branch
, one of the branches listed is myBranch<U+0094>
. I want to delete this branch, but when I go to delete the branch by copying the exact branch name, the following error happens:
$ git branch -d myBranch<U+0094>
bash: syntax error near unexpected token `newline'
I am using git bash for Windows. Any help would be appreciated. Thanks in advance!