博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Gitlab Issue Tracker and Wiki(一)
阅读量:6981 次
发布时间:2019-06-27

本文共 1712 字,大约阅读时间需要 5 分钟。

本节内容:

  • 创建第一个问题
  • 创建第一个合并请求
  • 接受合并请求
  • 工作里程碑
  • 在提交中引用问题
  • 创建维基百科页
  • 使用Gollum管理维基百科

一. 创建问题

1. 登陆Gitlab服务器

2. 切换到想要创建问题的项目

3. 点击Issues.

4. 点击【New issue】

5. 根据情况进行填写

二. 创建合并请求

1. 切换到项目所在本地主机的位置

mike@win10-001 MINGW64 ~

$ cd super-git/

2. 确保目前所处在master分支上。

mike@win10-001 MINGW64 ~/super-git/super-git (master)

$ git checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.

3. 创建分支awesome-feature,并切换到该分支上。

mike@win10-001 MINGW64 ~/super-git/super-git (master)

$ git checkout -b awesome-feature
Switched to a new branch 'awesome-feature'

4. 改变README.md中的内容。

mike@win10-001 MINGW64 ~/super-git/super-git (awesome-feature)

$ echo "Change" >> README.md

5. 提交4步所做的更改。

mike@win10-001 MINGW64 ~/super-git/super-git (awesome-feature)

$ git commit -a -m 'Added text to readme'
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory.
[awesome-feature 73fa1f9] Added text to readme
  1 file changed, 1 insertion(+), 1 deletion(-)

6. Push分支到Gitlab服务器

mike@win10-001 MINGW64 ~/super-git/super-git (awesome-feature)

$ git push origin awesome-feature
Counting objects: 3, done.
Writing objects: 100% (3/3), 256 bytes | 85.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote:
remote: To create a merge request for awesome-feature, visit:
remote:  
remote:
To c7201.xiodi.cn:root/super-git.git
  * [new branch]      awesome-feature -> awesome-feature

mike@win10-001 MINGW64 ~/super-git/super-git (awesome-feature)

7. 登陆到gitlab服务器

8. 点击Create Merge Request.

9. 根据实际情况填写下面信息。

10. 然后点击提交合并请求。

三. 接受合并请求

1. 登陆Gitlab服务器

2. 切换到刚才提交合并请求的项目中。

3. 点击【Merge Requests】

4. 勾选【Remove source branch】,点击【Merge】

转载于:https://www.cnblogs.com/zangxueyuan/p/9226531.html

你可能感兴趣的文章
python flaskfeng封装跨域请求头和封装json格式
查看>>
【搜索引擎基础知识2】网络爬虫
查看>>
Aptana Studio 3 汉化
查看>>
phonegap+jquerymobile开发android的心得(4)
查看>>
python 使用PyTesser--安装
查看>>
无需编译,1分钟安装Ubuntu官方构建的最新版Linux内核
查看>>
解压即用,Ubuntu上Nginx/Apache/PHP编译打包
查看>>
table设置border没有空隙
查看>>
Maven的setting.xml 配置详解
查看>>
Python3.7源码在windows(VS2015)下的编译和安装
查看>>
10_css选择符类型1.html
查看>>
修改 liteide 的 godoc 文档样式
查看>>
Java学习笔记(35)——Java集合07之TreeMap
查看>>
甲骨文推Oracle WebLogic应用服务器12c
查看>>
WEB服务器、应用程序服务器、HTTP服务器区别
查看>>
工厂方法
查看>>
IPSEC ××× 综合应用
查看>>
Linux下安装及管理应用程序
查看>>
Vmware vCenter 配置分布式交换机
查看>>
Ubuntu下RabbitVCS的安装和简单使用
查看>>