Dam*_*mon 3 git github git-push gitlab
我正在尝试推送到 git 并收到此错误消息
Enumerating objects: 57, done.
Counting objects: 100% (56/56), done.
Delta compression using up to 8 threads
Compressing objects: 100% (40/40), done.
error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (41/41), 185.34 MiB | 1.51 MiB/s, done.
Total 41 (delta 13), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date
Run Code Online (Sandbox Code Playgroud)
我已经尝试过:
git config http.postBuffer 524288000
Run Code Online (Sandbox Code Playgroud)
但这导致了不同但相似的消息:
Enumerating objects: 57, done.
Counting objects: 100% (56/56), done.
Delta compression using up to 8 threads
Compressing objects: 100% (40/40), done.
Writing objects: 100% (41/41), 185.34 MiB | 6.38 MiB/s, done.
Total 41 (delta 13), reused 0 (delta 0), pack-reused 0
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date
Run Code Online (Sandbox Code Playgroud)
任何帮助将非常感激!
Dam*_*mon 10
上面指出的问题是我试图承诺太多。
我跑:
git reset --soft HEAD~1
Run Code Online (Sandbox Code Playgroud)
这会删除之前的提交,然后我提交并推送较小的更改。
归档时间: |
|
查看次数: |
17665 次 |
最近记录: |