Git设置
1.Git安装
2.SSH密钥设置
生成密钥
ssh-keygen -t rsa -C "example@mail.com"
将密钥的 id_rsa.pub 内容复制出来,放到github上
Windows下Idea使用Git Clone Failed. Could Not Read From Remote Repository.
3.PyCharm设置
生成Token:Github 生成Token的方法
或者关于Pycharm登录Github时有的时候会报错Connection Reset
4.Github克隆项目
5.项目的版本操作(Get)
6.Github上传项目
报错
网络问题导致报错:
Couldn't get the list of GitHub repositories: Connect to api.github.com:443 [api.github.com/13.250.168.23] failed: Connection refused: connect
我是搭着梯子才成功的,其他操作不需要。