\342\200\223
is an octal character sequence representing the UTF-8
"en dash" character: octal 342 200 223
is the same as hex e2 80 93
. You probably copy/pasted that command line from somewhere and that character is blowing git
's mind. Use an ASCII -
.
That is to say, this character: –
and this one: -
are not the same. You need to use the latter.
You can check by running the character through your favourite hex dump program. Here's my example:
$ echo -n – | hexdump
0000000 e2 80 93
0000003
$ echo -n - | hexdump
0000000 2d
0000001