阅读量: 次  文章字数: 92字  阅读时长: 1分钟

Git

When you are using Git, you may encounter some problems. Here are some useful commands to help you solve them.

  1. Set the postBuffer size to 500MB
    When meeting:
1
2
3
4
5
6
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (635/635), 2.07 MiB | 2.53 MiB/s, done.
Total 635 (delta 81), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date

You can set the postBuffer size to 500MB:

1
git config http.postBuffer 524288000

Comments

2024-08-18
  1. Git