Home  >  Q&A  >  body text

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
PHPzPHPz2632 days ago561

reply all(1)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-02 09:23:32

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

    reply
    0
  • Cancelreply