[英]On Gitbash - Bower : ENOGIT git is not installed or not in the PATH --
I have installed GIT with the option enabled "Run Windows commands ..." and set the PATH to ;C:\\Program Files (x86)\\git\\cmd and in other to check if git is working i'm writing git
in the cmd
.我已经安装了GIT与选项启用“运行Windows的命令......”,并设置路径; C:\\ Program Files文件(x86)的\\ git的\\ cmd并在其他检查git的工作我正在写git
在cmd
。
It's not working.它不起作用。
any idea about what i am doing wrong?知道我做错了什么吗?
Thank you.谢谢你。 KRs. KRs。 BTR比特率
Why not using the git-scm installer ?为什么不使用git-scm 安装程序?
This is what it made for, to install git on windows machine.这就是在 Windows 机器上安装 git 的目的。 In the installer you have options is you want to add it to your cmd
& path.在安装程序中,您可以选择将其添加到cmd
和路径中。
我在控制台提示中使用此命令修复了这个问题:
set PATH=%PATH%;C:\Program Files (x86)\Git\bin;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.