mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
836 B
Markdown
34 lines
836 B
Markdown
6 years ago
|
---
|
||
|
date: "2018-06-01T19:00:00+02:00"
|
||
2 years ago
|
title: "合并请求"
|
||
6 years ago
|
slug: "pull-request"
|
||
2 years ago
|
sidebar_position: 13
|
||
4 years ago
|
toc: false
|
||
6 years ago
|
draft: false
|
||
2 years ago
|
aliases:
|
||
|
- /zh-cn/pull-request
|
||
6 years ago
|
menu:
|
||
|
sidebar:
|
||
|
parent: "usage"
|
||
|
name: "Pull Request"
|
||
2 years ago
|
sidebar_position: 13
|
||
6 years ago
|
identifier: "pull-request"
|
||
|
---
|
||
|
|
||
2 years ago
|
# 合并请求
|
||
6 years ago
|
|
||
2 years ago
|
## 在`合并请求`中使用“Work In Progress”标记
|
||
6 years ago
|
|
||
|
您可以通过在一个进行中的 pull request 的标题上添加前缀 `WIP:` 或者 `[WIP]`(此处大小写敏感)来防止它被意外合并,具体的前缀设置可以在配置文件 `app.ini` 中找到:
|
||
|
|
||
|
```
|
||
|
[repository.pull-request]
|
||
|
WORK_IN_PROGRESS_PREFIXES=WIP:,[WIP]
|
||
|
```
|
||
|
|
||
|
列表的第一个值将用于 helpers 程序。
|
||
|
|
||
2 years ago
|
## 合并请求模板
|
||
6 years ago
|
|
||
2 years ago
|
有关合并请求模板的更多信息请您移步 : [工单与合并请求模板](issue-pull-request-templates)
|