I'm using Git BASH in windows 7 and I try to create a tag:
git tag -a v2.44.13 -m "[before prod] bla bla bla"
and fails with:
$'\226git': command not found
Same command works with Git CMD. Why this happens and how to solve it?
git version 2.11.0.windows.1
I have faced same issue and it was because of copy-paste. Typing by hand solves the issue. If you don't want type all the command by hand try to go at the starting of the command after pasting it to the console and click backspace button multiple times. This should remove hidden characters and should work also.
When you type Ctrl+Shift+V
in the terminal it adds the \226
code to the command line. If you type Shift+Insert
without attempting any keyboard shortcuts it should work properly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With