当我尝试推送单个提交,替换大文件时,我从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'
我该如何解决这个问题?
答案 0 :(得分:1)
这是存储库服务器上的一个问题。我联系了这项服务,他们为我修好了。