Git push reports an error
This error is also the same solution:
The solution is as follows:
Execute the following code in turn
git remote rm origin %之前git上传地址报错,删除
$ git config --global -l %查看git设置
git config --global --unset http.proxy %取消代理
git config --global --unset https.proxy %取消代理
git remote add origin https://github.com/XXXX/XXXXXX.git %地址填写仓库地址
git push origin master
A prompt box that requires authorization appears to authorize.
Thanks for watching, please like, comment and support if it is useful.