码迷,mamicode.com
首页 > 其他好文 > 详细

执行git pull命令报告"fatal: early EOF fatal: index-pack failed error: Could not fetch origin fatal: read error: Connection timed out"如何处理?

时间:2020-03-27 16:53:52      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:lin   如何   style   pack   fetch   efs   conf   erro   dex   

答: 改变仓库的地址(<source code dir>/.git/config中的[remote "origin"]),如:

    .git/config中的[remote "origin"]如下:

    [remote "origin"]

        url= git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git

        fetch = +refs/heads/*:refs/remotes/origin/*

    修改为:

     [remote "origin"]

        url= https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git

        fetch = +refs/heads/*:refs/remotes/origin/*

执行git pull命令报告"fatal: early EOF fatal: index-pack failed error: Could not fetch origin fatal: read error: Connection timed out"如何处理?

标签:lin   如何   style   pack   fetch   efs   conf   erro   dex   

原文地址:https://www.cnblogs.com/dakewei/p/12582324.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!