1 创建Gitee仓库



2 点开管理,公开

3 再次打开,这个链接非常有用:
一方面是pycharm上传代码的关键
一方面是构建gitee和github的桥梁

1.Pycharm打开代码的路径(file-open)

2.打开版本控制VCS(version control system)
VCS-
Import into Version Control -
Create Git Repository

3 选择代码路径

这一步之后再在pycharm中右键代码可以看到Git选项,如下
4 添加代码(add code)
右键Code
选择Git
点击add

5 提交代码(commit code)
右键Code
选择Git
点击commit Directory(提交添加的内容)
记得选择想要的内容
记得点击提交,确认提交

6 Remote建立远程链接
右键code,
选择Git,
选择Respository,
选择Remote

Remote建立链接,注意这里的链接是来自之前创建的Gitee库的链接
之前创建的Gitee库的链接,

粘贴下来即可

确定即可

7 选择push
点击回到project,
右键code,
选择Git,
选择Respository,
选择push
其实右上角有快捷键
8 打开Gitee就会发现里面有了代码了哦~~
1 导入库(import repository)

2 粘贴进来库的链接即可

3 耐心等待即可~










