我在尝试推送一个单独的提交(替换了一个大文件)时,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'
我该怎么解决这个问题?