pavan@Pavans-Air link-dashboard % git push origin feat/orders
Enumerating objects: 103, done.
Counting objects: 100% (103/103), done.
Delta compression using up to 4 threads
Compressing objects: 100% (68/68), done.
Writing objects: 100% (72/72), 134.83 KiB | 4.49 MiB/s, done.
Total 72 (delta 35), reused @ (delta 6)
error: RPC failed; curl 92 HTTP/2 stream @ was not closed cleanly: PROTOCOL_ERROR (err 1)
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date
当我将代码推送到 GitHub 时,我收到此错误。
可能是身份验证问题。尝试使用ssh
代替http
.
您可以使用以下命令更改当前存储库的来源git remote
.
git remote add origin [email protected] /cdn-cgi/l/email-protection:username/project.git
或者你也可以设置ssh
作为默认超过html
全球。
GitHub
git config --global url.ssh://[email protected] /cdn-cgi/l/email-protection/.insteadOf https://github.com/
位桶
git config --global url.ssh://[email protected] /cdn-cgi/l/email-protection/.insteadOf https://bitbucket.org/
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)