我是根据https://blog.csdn.net/qq_41782425/article/details/85183250
这篇文章学习使用github的,非常详细,感谢前人,但是是2018年12月的,具体使用时可能会遇到一些问题,问题及解决都在下面。
学习使用github使用时遇到了一些问题以及解决:
- 上传失败(git push origin master这个命令执行失败了)
学习使用github使用时遇到了一些问题以及解决:
- 上传失败(git push origin master这个命令执行失败了)
不是使用HTTPS的远程仓库地址,而是SSH的,详细信息参考GitHub不再支持密码验证解决方案:SSH免密与Token登录配置 - 云+社区 - 腾讯云
然后就可以了,如下图:
然后去网页上
这里最后简略显示了一步,反正内容时传上去了的
2、重置用户名密码
git config --system --unset credential.helper
3、Connection was reset, errno 10054
git config --global http.sslVerify "false"
4、Fatal: Unable To Access ‘Https://Github.Com/…‘的解决办法
git config --global --unset http.proxy
git config --global --unset https.proxy
- fatal: couldn't find remote ref master
把master换成main



