由于需要使用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。。。。。。。。。
Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐