简体   繁体   中英

IntelliJ Idea & Github: Clone Failed

Yesterday, when I tried to pull from github repository using IntelliJ Idea, it returned me the following error:

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. Can you help me?

OS: Windows 10 1511 x64. Git: 2.5.3 cygwin64. Idea: 15.0.2 Ultimate.

Cygwin's forking issue is detailed here

To summarize the fix, try executing the following after closing Intellij AND after making sure that there are no other cygwin processes running:

$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. 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


How to make sure that there are no Cygwin processes running?

Use Sysinternal's Process explorer as follows:

Microsoft/SysInternals Process Explorer - Go to Find > Find Handle or DLL. In the "Handle or DLL substring:" text box, type the path to the file (eg "C:\\path\\to\\file.txt") and click "Search".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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