Monday, June 15, 2020

git push problem on ts117


git push, remote hung up unexpected, (after 1 hour, I realized I inadvertently added a 2.3 G grib file) 

I tried to increase HTTP post buffer
https://confluence.atlassian.com/stashkb/git-push-fails-fatal-the-remote-end-hung-up-unexpectedly-282988530.html

git config --global http.postBuffer 157286400 #did not work. same error. 

it did not work.

Workaround: tar gzip, transfer file from ts117 back to laptop through VPN. still not working.

(base) CS313BQin:parse_GRIB_JHUCSSE_COVID19 hqin$ du -sh
6.8G .
(base) CS313BQin:parse_GRIB_JHUCSSE_COVID19 hqin$ export GIT_HTTP_MAX_REQUEST_BUFFER=100M
(base) CS313BQin:parse_GRIB_JHUCSSE_COVID19 hqin$ git config --global http.postBuffer 100000000
(base) CS313BQin:parse_GRIB_JHUCSSE_COVID19 hqin$ git push
Enumerating objects: 165, done.
Counting objects: 100% (165/165), done.
Delta compression using up to 12 threads
Compressing objects: 100% (162/162), done.
Writing objects:   2% (4/163), 174.49 MiB | 10.24 MiB/s 

No comments:

Post a Comment