pycharm关联github

mac2022-06-30  93

本机已经安装了git并添加SSH Key

见另一篇博客:https://blog.csdn.net/qq_44859600/article/details/100567577

在settings中添加自己的github信息

1、打开Settings==>Version Control===>git

2、在如图(2)所示位置path to Git executable中添加自己的git安装路径 点击test按钮,弹出一个Sucess的对话框即成功

3、github账号的添加

创建github仓库

1、点击pycharm最上面一行的命令 VCS==>import into Version Control==>Share Project on Github 弹出如下对话框,填写仓库的信息,点击share

commit 文件

点击pycharm右上角,git栏的绿色对勾

提交commit

上传commit后的文件

更新到github上

最新回复(0)