解决:git安装之后需要配置系统环境变量。 path变量里面增加(地址根据自己git安装的地址) E:\program\Git\bin E:\program\Git\mingw64\libexec\git-core