Trying to push PNG to my github gist without success.
$ git clone https://gist.github.com/6124716.git $ cd 6124716 $ ls fed.json index.html vermont.json
Then I can change index.html and click on change in my github repository. However, as soon as I save the png file to the repo, I lose the ability to click:
$ git push Counting objects: 4, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 25.48 KiB, done. Total 3 (delta 0), reused 0 (delta 0) error: RPC failed; result=52, HTTP code = 0 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly
After reading about the problem, I saw suggestions to increase the size of the buffer:
$ git config http.postBuffer 524288000
But I still get the same error message. In addition, vermont.json is much more than PNG, which I am trying to download.
$ ls -la drwxr-xr-x 7 mparrilla staff 238 Aug 2 09:53 . drwxr-xr-x 7 mparrilla staff 238 Aug 2 09:53 .. drwxr-xr-x 14 mparrilla staff 476 Aug 2 09:56 .git -rw-r--r-- 1 mparrilla staff 5635 Aug 2 09:52 fed.json -rw-r--r-- 1 mparrilla staff 3381 Aug 2 09:52 index.html -rw-r--r-- 1 mparrilla staff 25776 Aug 2 09:28 thumbnail.png -rw-r--r-- 1 mparrilla staff 187388 Aug 2 09:52 vermont.json
source share