git

PhpStorm protected branches feature

Published on Wednesday 12, December 2018

Recently, while working on a little project, I decided to clean up some of the commits on the master branch before pushing it to Packagist. To be lazy, I decided to use PhpStorm's interactive rebase tool instead of the good ole command line.

BUT I COULD NOT! And I started to go mad.

Git RPC Failed; result = 22; HTTP 411

Published on Friday 28, December 2012
Apparently by default git has a limit for max upload files. We build our test sites locally, push to git and then deploy to a beta site. That means there can be a bit of data being transferred, especially in a site with PDFs. If you over do it on that buffer in git you'll receive a RPC Failed; result=22; HTTP 411 / fatal: The remote hung up unexpectedly. Change your git config with this line (500MB): git config http.postBuffer 524288000
Subscribe to git