gitee创建仓库(仓库名与项目名一致)
idea操作:
1.打开idea vcs-> import into version control->create git repository... ->选择上传的项目(代码名全部红色)
2.在项目根目录上鼠标右键点击git ->repository->remotes...->把复制的https放到url name是分支
登录的用户名是gitee邮箱,密码是gitee密码
3.如果仓库不是清空的需要pull,清空的就不需要pull,然后add
在项目根目录上鼠标右键点击git ->add (代码全部添加到本地仓库,此时代码名变绿)
然后push(都是同一个步骤git ->repository->但是不同的位置)