1.在gitlab上新建项目
1.1点击New project新建项目

1.2填写项目信息

3.创建版本库
打开本地项目所在地址,打开bash
3.1git init

3.2git add *

3.3git commit -m ""

4.提交到远程仓库
4.1.复制gitlab地址

4.2.上传到远程
4.2.1 添加远程路径
git remote add origin https://...
![]()
4.2.2 push到远程
git push -u origin master
本文详细介绍了如何在GitLab上创建新的项目,并指导您完成本地版本库的初始化、提交及推送至远程仓库的过程。
1.在gitlab上新建项目
1.1点击New project新建项目

1.2填写项目信息

3.创建版本库
打开本地项目所在地址,打开bash
3.1git init

3.2git add *

3.3git commit -m ""

4.提交到远程仓库
4.1.复制gitlab地址

4.2.上传到远程
4.2.1 添加远程路径
git remote add origin https://...
![]()
4.2.2 push到远程
git push -u origin master
557
5012
2046
954

被折叠的 条评论
为什么被折叠?