1. 创建仓库
1.1 新建仓库
复制gitee码云对的https连接
仓库地址:https://gitee.com/hsjpionner/yygh_parent.git
1.2 提交上传
打开项目并点击菜单栏上的【CVS】–>【import into version control】–>【create git repository】创建本地仓库
在打开的【create git repository】对话框内选择本地仓库的位置,这里我选择项目的根路径,点击ok。
git的过程
然后项目右键选择git–>add–>先把代码提交到本地仓库中
然后项目右键git—>repository—>remotes–>设置远程仓库的地址
然后项目右键选择git—> commit directory
要提交到远程仓库的内容选择commit and push