Add missing doc from main repository (#4)

Copy from https://github.com/go-gitea/gitea/pull/31211/files
Author: @MaxWipfli

Add missing documentation for https://github.com/go-gitea/gitea/pull/30268

Reviewed-on: https://gitea.com/gitea/docs/pulls/4
This commit is contained in:
Lunny Xiao
2024-06-15 03:10:51 +00:00
parent ab2cdde840
commit 7e77e7fb39
5 changed files with 6 additions and 3 deletions
@@ -1,6 +1,5 @@
---
date: "2023-05-23T09:00:00+08:00"
title: "合并消息模板"
slug: "merge-message-templates"
sidebar_position: 15
toc: false
@@ -44,6 +43,8 @@ PR 默认合并消息模板可能的文件名:
- PullRequestIndex:合并请求的索引号
- PullRequestReference:合并请求的引用字符与索引号。例如,#1、!2
- ClosingIssues:返回一个包含将由此合并请求关闭的所有工单的字符串。例如 `close #1, close #2`
- ReviewedOn: 该提交所属的合并请求。例如: `Reviewed-on: https://gitea.com/foo/bar/pulls/1`
- ReviewedBy: 谁同意的此合并请求。例如: `Reviewed-by: Jane Doe <[email protected]>`
## 变基(Rebase