Sah*_*bov 56 git github intellij-idea
JetBrains IntelliJ IDEA有2个插件:Git和Github.我是否需要在我的本地Windows机器上从http://git-scm.com安装Git 才能通过IntelliJ IDEA将我的文件上传到GitHub?
Dar*_*hop 67
我刚刚遇到了同样的问题.
如果你选择在安装git(在Windows上)时不进行完整的PATH(环境变量)集成,你需要告诉IntelliJ在哪里找到git.cmd; 你可以这样做
Settings > Project Settings > Version Control > VCSs > Git
Run Code Online (Sandbox Code Playgroud)
例如在我的情况下,它是便携式的git看起来像这样在Windows
C:\用户\用户名\应用程序数据\本地\ GitHub的\ PortableGit_d7effa1a4a322478cd29c826b52a0c118ad3db11\CMD\git.exe
是的,看起来你需要在你的机器上安装git.我只是试图在github上克隆一个项目,我得到了:
Cannot run program "git.exe" (in directory "C:\Users\Steve\Code"): CreateProcess error=2, The system cannot find the file specified
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
75486 次 |
| 最近记录: |