1、 Create Git Repository
默认选择当前项目,点击OK
2、Git Remotes
复制gittee仓库网址
3、git -->add
4、 Commenit Directory
Commit
5、git-->push
以上部分参考文献:将pycharm中的项目上传至gitee仓库_lzh(๑′ᴗ‵๑)的博客-CSDN博客https://blog.csdn.net/v02040212/article/details/123258969
***************************************************************************
push时出现问题:
解决办法:
在项目路径下Git Bash Here:
输入:
git pull origin master --allow-unrelated-histories
再次在pycharm中push即可。