1. 点击 VCS >Import into Version Control >Create Git Repository
image.png
-
选择本项目地址
image.png
-
执行之后可以看到在项目地址下生成了个 .git文件夹
image.png
-
并看到项目文件全部变红
image.png
2. 执行add
image.png
3. 执行commit
image.png
4. 执行commit and push
image.png
5. 设置gitlab项目地址
注意是项目地址,不是gitlab服务器URL
image.png
-
输入用户名密码
image.png
5. 执行push
image.png
6. push成功
image.png
-
gitlab上查看提交成功
image.png












网友评论