因为安装的git工具版本太低,导致出现一系列问题,第一次安装的话建议安装最新版本的git
安装git:http://git-scm.com/downloads
参考文档:https://www.cnblogs.com/xueweisuoyong/p/11914045.html
问题1:git push 代码的时候遇到了fatal: unable to access ‘https://github.com/...
参考解决文档:
https://blog.csdn.net/weixin_45317091/article/details/113
设置IP方法
https://www.cnblogs.com/yanch01/p/GitHub-access.html
查找ip工具
https://github.com.ipaddress.com/www.github.com
问题2:remote: Support for password authentication was removed on August 13, 2021.
参考文档:https://blog.csdn.net/weixin_41010198/article/details/119698015
问题3:fatal: HttpRequestException encountered.
参考文档:https://blog.csdn.net/weixin_44763569/article/details/90408803