简体   繁体   English

IntelliJ Idea和Github:克隆失败

[英]IntelliJ Idea & Github: Clone Failed

Yesterday, when I tried to pull from github repository using IntelliJ Idea, it returned me the following error: 昨天,当我尝试使用IntelliJ Idea从github存储库中提取信息时,它返回了以下错误:

Clone Failed. Cannot fork() for git-remote-https: Resource temporarily unavailable.

When I use git from command prompt or from another IDE (like Netbeans), everything is OK. 当我从命令提示符或其他IDE(如Netbeans)中使用git时,一切正常。 Can you help me? 你能帮助我吗?

OS: Windows 10 1511 x64. 作业系统:Windows 10 1511 x64。 Git: 2.5.3 cygwin64. Git:2.5.3 cygwin64。 Idea: 15.0.2 Ultimate. 想法:15.0.2极限。

Cygwin's forking issue is detailed here Cygwin的分叉问题在此处详细说明

To summarize the fix, try executing the following after closing Intellij AND after making sure that there are no other cygwin processes running: 要总结此修复程序,请在关闭Intellij并且确保没有其他cygwin进程正在运行之后,尝试执行以下操作:

$CYGWIN_HOME\bin\dash.exe -c '/usr/bin/rebaseall -v'

Also, you might need to install the rebase package by executing Cygwin's setup.exe if you haven't already got it. 另外,如果尚未安装rebase软件包,则可能需要执行Cygwin的setup.exe来安装它。 In this case, the steps are: 在这种情况下,步骤为:

a. Install the Cygwin rebase package (if necessary)  
b. shutdown all Cygwin processes  
c. execute the command listed above

This problem has been reported before on the Cygwin mailing list: http://cygwin.com/ml/cygwin/2015-10/msg00269.html , however read through the linked discussion only if the summarized instructions do not fix your problem 以前在Cygwin邮件列表中已经报告了此问题: http : //cygwin.com/ml/cygwin/2015-10/msg00269.html ,但是仅当摘要说明不能解决您的问题时,请通读链接的讨论。


How to make sure that there are no Cygwin processes running? 如何确保没有Cygwin进程在运行?

Use Sysinternal's Process explorer as follows: 使用Sysinternal的Process Explorer,如下所示:

Microsoft/SysInternals Process Explorer - Go to Find > Find Handle or DLL. Microsoft / SysInternals Process Explorer-转到查找>查找句柄或DLL。 In the "Handle or DLL substring:" text box, type the path to the file (eg "C:\\path\\to\\file.txt") and click "Search". 在“句柄或DLL子字符串:”文本框中,键入文件的路径(例如“ C:\\ path \\ to \\ file.txt”),然后单击“搜索”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM