Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git throwing broken pipe error on push

Tags:

git

I'm getting a vague error from git when I'm trying to push a single commit, replacing a large file:

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 '[email protected]:project.git'

How do I fix this?

like image 583
dubbelj Avatar asked Oct 06 '14 20:10

dubbelj


1 Answers

This was an issue on the repository server. I reached out to the service and they fixed it for me.

like image 82
dubbelj Avatar answered Oct 11 '22 16:10

dubbelj