Skip to content

Instantly share code, notes, and snippets.

@yanlusu
Created October 26, 2020 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yanlusu/08342cac9b0e5d91a7c0059de4e12297 to your computer and use it in GitHub Desktop.
Save yanlusu/08342cac9b0e5d91a7c0059de4e12297 to your computer and use it in GitHub Desktop.

Git push 提示HTTP 400 / 413

error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 Failed reading client body
fatal: The remote end hung up unexpectedly
  • HTTP 413 调nginx配置

  • HTTP 400 设置下git的缓冲区大小, 比如100M

git config --global http.postBuffer 104857600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment