summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/usage/pull-request.zh-cn.md
diff options
context:
space:
mode:
authorBetaCat <outman99@hotmail.com>2018-10-18 02:19:04 +0800
committertechknowlogick <hello@techknowlogick.com>2018-10-17 14:19:04 -0400
commit1972383216643dcb01499011f3632a16f3d81611 (patch)
treed50a99724a07571cc00a3f5f8589fca07946fb60 /docs/content/doc/usage/pull-request.zh-cn.md
parent25def0a808da5130074a5e2334a0a9f88ed621d8 (diff)
downloadgitea-1972383216643dcb01499011f3632a16f3d81611.tar.gz
gitea-1972383216643dcb01499011f3632a16f3d81611.zip
ZH-CN translation of Usage part (#5086)v1.6.0-rc1v1.6.0-dev
Diffstat (limited to 'docs/content/doc/usage/pull-request.zh-cn.md')
-rw-r--r--docs/content/doc/usage/pull-request.zh-cn.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/content/doc/usage/pull-request.zh-cn.md b/docs/content/doc/usage/pull-request.zh-cn.md
new file mode 100644
index 0000000000..c1bddef1b7
--- /dev/null
+++ b/docs/content/doc/usage/pull-request.zh-cn.md
@@ -0,0 +1,31 @@
+---
+date: "2018-06-01T19:00:00+02:00"
+title: "使用:Pull Request"
+slug: "pull-request"
+weight: 13
+toc: true
+draft: false
+menu:
+ sidebar:
+ parent: "usage"
+ name: "Pull Request"
+ weight: 13
+ identifier: "pull-request"
+---
+
+# Pull Request
+
+## 在 pull requests 使用“Work In Progress”标记
+
+您可以通过在一个进行中的 pull request 的标题上添加前缀 `WIP:` 或者 `[WIP]`(此处大小写敏感)来防止它被意外合并,具体的前缀设置可以在配置文件 `app.ini` 中找到:
+
+```
+[repository.pull-request]
+WORK_IN_PROGRESS_PREFIXES=WIP:,[WIP]
+```
+
+列表的第一个值将用于 helpers 程序。
+
+## Pull Request 模板
+
+有关 pull request 模板的更多信息请您移步 : [Issue and Pull Request templates](../issue-pull-request-templates)