JetBrains IntelliJ IDEA有两个插件:Git和Github。为了通过IntelliJ IDEA将文件上传到GitHub,我需要在本地windows计算机上安装来自http://git-scm.com的Git吗?
发布于 2011-09-16 16:37:25
我刚刚遇到了同样的问题。
如果在安装git (在Windows上)时选择不执行完整路径(环境变量)集成,则需要告诉IntelliJ在哪里可以找到git.cmd
;您可以在
Settings > Project Settings > Version Control > VCSs > Git
示例在我的例子中,它是可移植的git在windows上看起来像这样
C:\Users\user\AppData\Local\GitHub\PortableGit_d7effa1a4a322478cd29c826b52a0c118ad3db11\cmd\git.exe
发布于 2013-03-22 11:27:20
设置>项目设置>版本控制> git
Git可执行文件的路径: D:\Program Files (x86)\Git\cmd\git.cmd
发布于 2011-01-03 11:21:37
是的,看起来你需要在你的机器上安装git。我刚刚尝试在github上克隆一个项目,我得到了:
Cannot run program "git.exe" (in directory "C:\Users\Steve\Code"): CreateProcess error=2, The system cannot find the file specified
https://stackoverflow.com/questions/4581832
复制相似问题