由于需要使用git,又是windows环境,就安装了cygwin,
但是在提交代码时遇到了以下问题:
remote: Counting objects: 172, done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 119 (delta 45), reused 95 (delta 21)
0 [main] git 8660 fork: child -1 - forked process 4520 died unexpectedly, retry 0, exit code -1073741515, errno 11
error: cannot fork() for index-pack: Resource temporarily unavailable
fatal: fetch-pack: unable to fork off index-pack
无论是git clone还是git fetch都一样,应该是cygwin和git同时使用时的问题,在网上找了好久,也试过:
http://stackoverflow.com/questions/12042363/cygwin-git-fork-error-on-pull
提到的方法,还是没解决,最后的解决方法是:
重装cygwin。。。。。。。。。
解决Windows环境下Git与Cygwin使用冲突导致的fork错误
本文详细记录了解决在Windows环境中使用Cygwin与Git时遇到的fork错误问题的过程,包括问题现象、原因分析及最终解决方法。重点在于通过重新安装Cygwin的方法成功修复了Git pull操作中遇到的资源暂时不可用错误。
5759

被折叠的 条评论
为什么被折叠?



