首页 > git push不成功

git push不成功

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

从报错上来说,貌似是因为提交的文件过大造成的错误;尝试修改一下postBuffer的参数:
git config –global http.postBuffer 52428800


为何不自己先Google一下呢? 关键字 git push 411

http://stackoverflow.com/questions/16557071/git-error-rpc-failed-resul...

http://stackoverflow.com/questions/12651749/git-push-fails-rpc-failed-...

【热门文章】
【热门文章】