我配置的时候一直报错安装完成后,还需要最后一步设置,在命令行输入:
$ git config --global user.name "Your Name"$ git config --global user.email "email@example.com"这一步我一直提示我config--global is not a git command,一开始我认为是git没安装成功。输入git--help也是报错git--help is not a git command,后来才发现
config和--global中间有一个空格!!!!!!!!!!
user.name和“yourname”之间也有一个空格!!!!!!!!!
希望能帮助到你