路明非

导航

Pycharm连接Git

在学习flask中,对Github Desktop感受到了深深的怨念,后面直接使用pycharm连接git。

以下是连接pycharm连接github的步骤以及我遇到的问题

1.下载完Github for windows,在C:\Users\yourname\AppData\Local\GitHub\PortableGit_f02737a78695063deace08e96d5042710d3e32db\cmd 中找到git.exe 将其添加在Pycharm中的File -> Setting -> Version Control -> Git 中

点击test进行测试  成功会返回下图(注意:SSH exectude选择Native)

       

2。在version下找到GitHub 点击Creat API token

点击了test测试连接成功会返回connection sucessful user <yourname>

3.创建项目上传至github

pycharm -> import into Version Control -> share project to Github

 

之后选择上传的文件,就可以在github中看到上传的文件

posted on 2017-02-13 21:18  路明非  阅读(536)  评论(0编辑  收藏  举报