Category Archives: git

git push error: RPC failed; result=22, HTTP code = 411

When doing a git push, I was getting the following error. error: RPC failed; result=22, HTTP code = 411 fatal: The remote end hung up unexpectedly This fixed it: git config http.postBuffer 524288000

Posted in git, Linux | Comments Off on git push error: RPC failed; result=22, HTTP code = 411

How to specify an SSH key with git, without using a config file

There are a number of ways to do this, but for me setting up an ssh config file was not practical or desirable. I wanted to be able to make a fabric script that becomes a user (that does not … Continue reading

Posted in git, Linux | Comments Off on How to specify an SSH key with git, without using a config file