GIT 二三事

the remote end hung up unexpectedly

  • 这是我第一次遇到这个错误。是在初始化了一个 git 仓库,然后执行 git push --set-upstream origin master 的时候抛出的异常
  • 经过 Google 之后发现是因为推送的文件太大了而抛出的异常

  • 结果途径,增加当前仓库的 postBuffer 大小

git config --local http.postBuffer 524288000