推送时Git出现“broken pipe”错误

6

我在尝试推送一个单独的提交(替换了一个大文件)时,git 给出了一个模糊的错误提示:

15:36:16.519: git push --progress origin master:master
/usr/bin/git-receive-pack:214:in `rewrite_refs_client_wants_to_modify': undefined method `sub' for nil:NilClass (NoMethodError)
    from /usr/bin/git-receive-pack:92:in `block in start'
    from /usr/lib/ruby/2.1.0/open3.rb:199:in `popen_run'
    from /usr/lib/ruby/2.1.0/open3.rb:93:in `popen3'
    from /usr/bin/git-receive-pack:87:in `start'
    from /usr/bin/git-receive-pack:242:in `<main>'
Counting objects: 50, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (7/7), done.
fatal: sha1 file '<stdout>' write error: Broken pipe
error: failed to push some refs to 'git@git.assembla.com:project.git'

我该怎么解决这个问题?

可能是向git存储库推送时出现断开的管道的重复问题。 - Simon Boudrias
尝试了答案,没有帮助,已更新描述。 - dubbelj
你的磁盘还有足够的空间吗?你是否拥有写入文件的适当权限? - hek2mgl
两个问题都回答是。 - dubbelj
尝试升级你的 Ruby 包,看看错误是否仍然存在。 - ckruczek
1个回答

1

这是存储库服务器上的问题。我联系了服务人员,他们为我修复了它。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接