Git报错-bash: $‘\302\226git‘: command not found

执行Git命令时报错

bash: $'\302\226git': command not found

解决方式

此种情况常出现在复制、粘贴命令时,命令开头往往会有多余的空格。

检查命令中是否有多余的空格,去除多余的空格即可

猜你喜欢

转载自blog.csdn.net/weixin_46669844/article/details/127922071