执行git pull命令报告"fatal: early EOF fatal: index-pack failed error: Could not fetch origin fatal: r
Posted Jello
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了执行git pull命令报告"fatal: early EOF fatal: index-pack failed error: Could not fetch origin fatal: r相关的知识,希望对你有一定的参考价值。
答: 改变仓库的地址(<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: r的主要内容,如果未能解决你的问题,请参考以下文章
git pull失败提示fatal: Unable to create 'E:/job/tpaas-web/.git/index.lock': File exists.
Git执行"git rebase -i HEAD~xxx"报错:git rebase fatal: Needed a single revision invalid upst