1、 Create Git Repository
默认选择当前项目,点击OK
2、Git Remotes
复制gittee仓库网址
3、git -->add
4、 Commenit Directory
Commit
5、git-->push
***************************************************************************
push时出现问题:
解决办法:
在项目路径下Git Bash Here:
输入:
git pull origin master --allow-unrelated-histories
再次在pycharm中push即可。