git network error
unable to access SSL_ERROR_SYSCALL / Failure when receiving data from the peer
修改git config里面http.proxy / https.proxy
git config --global -e
git config --global http.proxy 127.0.0.1:7890
git config --global https.proxy 127.0.0.1:7890
https://hyperzsb.io/posts/git-ssl-error/
Recv failure: Connection reset by peer
刷新网络重新发送命令
或者:
git config --global --unset https.proxy
git config --global --unset http.proxy
error: remote origin already exists
查看目前的远端分支git remote -v
return not only the names of each remote but also its URLs
重新编辑远端分支
edit the remote origin again
git remote set-url origin https://github.com/xx/xxx.git
https://www.cloudbees.com/blog/remote-origin-already-exists-error
fatal: couldn't find remote ref master
查看当前分支,使用正确的分支名
see the correct branch name to use
git branch -vv # BranchName
git pull origin BranchName
fatal: refusing to merge unrelated histories
git pull origin main --allow-unrelated-histories
标签:origin,git,remote,--,网络,问题,proxy,https
From: https://www.cnblogs.com/someonefake/p/18089353