相关疑难解决方法(0)

Git pull因错误的包头错误而失败

git pull失败,出现以下错误

remote: Counting objects: 146, done.
remote: fatal: unable to create thread: Resource temporarily unavailable
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
Run Code Online (Sandbox Code Playgroud)

任何想法如何成功拉?

git

26
推荐指数
2
解决办法
4万
查看次数

使用MySysGit 1.7.4,为什么"git push"会无限期地挂在那里?

我尝试使用Ruby和Rails进行小型实验,并希望从Mac推送到PC,反之亦然.

所以我安装了Git网站的标准推荐Git on PC(MySysGit 1.7.4),然后运行

git daemon --reuseaddr --base-path=. --export-all --verbose --enable=receive-pack
Run Code Online (Sandbox Code Playgroud)

在Mac或PC上(启动Git服务器),然后在PC上克隆并添加文件,然后提交,然后执行

git push git://192.168.1.31/ master
Run Code Online (Sandbox Code Playgroud)

现在它将打印出以下内容并无限期地挂在那里:

Counting objects: 5, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4)
Run Code Online (Sandbox Code Playgroud)

我在另一台PC上尝试过它,这是一回事.怎么解决这个问题?

(我使用命令从问题运行服务器:'receive-pack':服务未启用'./.git')

git

24
推荐指数
2
解决办法
1万
查看次数

标签 统计

git ×2