Broken pipe error using StaSh’s git push
tkrk last edited by
I am neither good at programming nor English. I am sorry if the meaning is difficult to understand.
I cloned git remote repository I constructed in other environment to iPad with StaSh, worked there, push the change and I got an error saying
[my app]$ git push Attempting to push to: https://github.com/####/***.git, branch: refs/heads/master stash: <class 'urllib2.URLError'>: <urlopen error [Errno 32] Broken pipe>
The directory structure is as follows.
/public/**.js, **.html, **.PNG
/package.json, Procfile, readme.md, server.js
Since I do not know how to “git add [directory]” with StaSh, I typed "git add *. *" under public dir and I did "git commit" and "git push" under my app dir.
How can I solve this problem?
tkrk last edited by
The format has collapsed, but the correct directory structure is as follows.
my app/public/***.js, ***.PNG, ***.html
my app/package.json, Procfile, Readme.md, server.js
Jians last edited by
I am not sure about this error, but I have got a error related to the urllib pacakge. It seems the package requires running on python 2.7
Hope that helps.
mikael last edited by
@tkrk, every time I have encountered this error it has been because of a large file, typically a large picture.
Recovering from the situation has required cloning the remote repository again.
Workaround is to make your images smaller, if possible. I do not know what the exact limit is, but something well under 100 kb is usually fine.
This is a very annoying issue, and I am not aware of a real solution. I have been forced to use Working Copy – and less convenient workflow – instead.
JonB last edited by
iIRC, if you set up ssh access and use ssh to push, while it is slower, it doesnt have the broken pipe problem.
Newer dulwich has corrected this i think. I have mostly integrated this into stash, but havent gotten around to getting everything working yet