1.Gitlab控制台操作指引

2019-09-17  本文已影响0人  张都尉

基本操作

项目管理

#Command line instructions
You can also upload existing files from your computer using the instructions below.


#Git global setup
git config --global user.name "Administrator"
git config --global user.email "admin@example.com"

#Create a new repository
git clone http://gitlab.example.com/gitlab/first.git
cd first
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master

#Push an existing folder
cd existing_folder
git init
git remote add origin http://gitlab.example.com/gitlab/first.git
git add .
git commit -m "Initial commit"
git push -u origin master

#Push an existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin http://gitlab.example.com/gitlab/first.git
git push -u origin --all
git push -u origin --tags

编辑\删除项目

用户管理

  1. 姓名(可以是中文)
  2. 用户名(可以为字母、数字、空格、下划线、中划线和英文点号组成,且必须以字母或数字开头,不能使用中文)
  3. 邮箱地址(首次接收密码)
  4. 建项目的数量限制
  5. 是否可以创建组
  6. 是否是管理员
  7. 选填内容(个人联系方式)


组管理(管理权限,非管理请略过)

  1. 组名称,组名称可以为字母、数字、空格、下划线、中划线和英文点号组成,
    且必须以字母或数字开头,不能使用中文
  2. 组详情

添加 编辑 删除组

添加成员

从组别添加项目管理

权限说明

上一篇 下一篇

猜你喜欢

热点阅读