每當我嘗試將代碼推送到我的 github 存盤庫時,我都會遇到此錯誤
Enumerating objects: 104, done.
Counting objects: 100% (104/104), done.
Delta compression using up to 4 threads
Compressing objects: 100% (88/88), done.
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (104/104), 2.77 MiB | 55.00 KiB/s, done.
Total 104 (delta 32), reused 0 (delta 0), pack-reused 0
fatal: the remote end hun
uj5u.com熱心網友回復:
first:-
使用此命令將您的 http 版本從 2 降級到 1.1
$ git config --global http.version HTTP/1.1
second:-
然后使用推送代碼
$ git push
third:-
然后再次將http的版本更改為2。
$ git config --global http.version HTTP/2
uj5u.com熱心網友回復:
你可以使用 Github Desktop 將你的代碼推拉到 Github
https://desktop.github.com/
有關更多資訊,請閱讀他們的檔案
https://docs.github.com/en/desktop
這是一個選項
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/354953.html
上一篇:我如何解決這個git問題?
下一篇:為什么不帶引數的gitpull會產生與gitpullorigin<branchname>不同的結果,其中<branchname>是當前活動分支?
