git push
将本地代码推送到远程,
git push -u origin main
main是本地要和远程合并的分支,
如果报如下的错,则说明是因为设置了代理,取消代理即可,取消代理命令:
git config --global --unset http.proxy,参考:https://blog.csdn.net/qq_34817440/article/details/106420689
fatal: unable to access 'https://github.com/hanhua111/go_leetcode.git/': Unknown SSL protocol error in connection
to github.com:443