Git——Unable to find git in your PATH

438 阅读1分钟

日常使用git中遇到了一个问题

Error: Unable to find git in your PATH.

最终在Github上找到答案 github.com/flutter/flu…

这个Error,意思是我的环境里面没有git

用户变量Path新建:D:\SoftWare\Java\Android\Git\bin\git.exe;D:\SoftWare\Java\Android\Git\cmd;C:\Windows\System32;

写上你的git执行文件的绝对路径地址,和控制面板的绝对路径,在写上C:\Windows\System32;

注意:保持一行和中间连接是英文分号,路径不要有中文