如何配置Pycharm中的Git功能?
- 内容介绍
- 文章标签
- 相关推荐
本文共计308个文字,预计阅读时间需要2分钟。
Git配置及使用步骤:
1.安装Git
2.设置SSH密钥:`ssh-keygen -t rsa -C example@mail.com`,生成密钥并复制`id_rsa.pub`内容到GitHub
3.PyCharm设置:生成Token,用于PyCharm连接GitHub
Git设置
1.Git安装
2.SSH密钥设置
生成密钥
ssh-keygen -t rsa -C example@mail.com
将密钥的 id_rsa.pub 内容复制出来,放到github上
www.jb51.net/article/195662.htm
3.PyCharm设置
生成Token:www.jb51.net/article/195664.htm
或者www.jb51.net/article/195666.htm
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
我是搭着梯子才成功的,其他操作不需要。
到此这篇关于Pycharm Git 设置方法的文章就介绍到这了,更多相关Pycharm Git 设置内容请搜索易盾网络以前的文章或继续浏览下面的相关文章希望大家以后多多支持易盾网络!
本文共计308个文字,预计阅读时间需要2分钟。
Git配置及使用步骤:
1.安装Git
2.设置SSH密钥:`ssh-keygen -t rsa -C example@mail.com`,生成密钥并复制`id_rsa.pub`内容到GitHub
3.PyCharm设置:生成Token,用于PyCharm连接GitHub
Git设置
1.Git安装
2.SSH密钥设置
生成密钥
ssh-keygen -t rsa -C example@mail.com
将密钥的 id_rsa.pub 内容复制出来,放到github上
www.jb51.net/article/195662.htm
3.PyCharm设置
生成Token:www.jb51.net/article/195664.htm
或者www.jb51.net/article/195666.htm
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
我是搭着梯子才成功的,其他操作不需要。
到此这篇关于Pycharm Git 设置方法的文章就介绍到这了,更多相关Pycharm Git 设置内容请搜索易盾网络以前的文章或继续浏览下面的相关文章希望大家以后多多支持易盾网络!

