git push
Counting objects: 317, done. Delta compression using up to 4 threads.
Compressing objects: 100% (304/304), done. error: RPC failed;
result=22, HTTP code = 411 fatal: The remote end hung up unexpectedly
Writing objects: 100% (317/317), 2.00 MiB | 3.64 MiB/s, done. Total
317 (delta 34), reused 0 (delta 0) fatal: The remote end hung up
unexpectedly Everything up-to-date
git status
On branch master Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits) nothing to commit,
working directory clean
git branch
- master
From the error report, it seems that the error is caused by the submitted file being too large; try modifying the parameters of postBuffer:
git config –global http.postBuffer 52428800