diff options
author | kevinlin18 <7793728+kevinlin18@users.noreply.github.com> | 2021-01-29 08:57:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-29 01:57:58 +0100 |
commit | 0e4a9dbcb90ff80356e51cffb81e2b8717ea035d (patch) | |
tree | e9119c9707eb942faf3440dbfd5928d81d6eb248 /docs/content/doc/usage | |
parent | 2ebe609d65f16b67ee54fe123f226bcd737be79e (diff) | |
download | gitea-0e4a9dbcb90ff80356e51cffb81e2b8717ea035d.tar.gz gitea-0e4a9dbcb90ff80356e51cffb81e2b8717ea035d.zip |
[docs] Add zh-tw Translations (#14507)
Diffstat (limited to 'docs/content/doc/usage')
-rw-r--r-- | docs/content/doc/usage/pull-request.zh-tw.md | 32 | ||||
-rw-r--r-- | docs/content/doc/usage/push-options.zh-tw.md | 31 |
2 files changed, 63 insertions, 0 deletions
diff --git a/docs/content/doc/usage/pull-request.zh-tw.md b/docs/content/doc/usage/pull-request.zh-tw.md new file mode 100644 index 0000000000..ee09e1893b --- /dev/null +++ b/docs/content/doc/usage/pull-request.zh-tw.md @@ -0,0 +1,32 @@ +--- +date: "2018-06-01T19:00:00+02:00" +title: "使用: 合併請求" +slug: "pull-request" +weight: 13 +toc: false +draft: false +menu: + sidebar: + parent: "usage" + name: "合併請求" + weight: 13 + identifier: "pull-request" +--- + +# 合併請求 + +## 「還在進行中(WIP)」的合併請求 + +將合併請求標記為還在進行中(Work In Progress, WIP)可避免意外地被合併。 +要將合併請求標記為還在進行中請在標題中使用 `WIP:` 或 `[WIP]` 前綴(不分大小寫)。這些值可在您的 `app.ini` 中設定: + +```ini +[repository.pull-request] +WORK_IN_PROGRESS_PREFIXES=WIP:,[WIP] +``` + +網頁提示會使用第一個值作為範例。 + +## 合併請求範本 + +您可以在[問題與合併請求範本](../issue-pull-request-templates)找到更多關於合併請求範本的資訊。 diff --git a/docs/content/doc/usage/push-options.zh-tw.md b/docs/content/doc/usage/push-options.zh-tw.md new file mode 100644 index 0000000000..b0fc75ac24 --- /dev/null +++ b/docs/content/doc/usage/push-options.zh-tw.md @@ -0,0 +1,31 @@ +--- +date: "2020-07-06T16:00:00+02:00" +title: "使用: Push Options" +slug: "push-options" +weight: 15 +toc: false +draft: false +menu: + sidebar: + parent: "usage" + name: "Push Options" + weight: 15 + identifier: "push-options" +--- + +# Push Options + +Gitea 從 `1.13` 版開始支援某些 [push options](https://git-scm.com/docs/git-push#Documentation/git-push.txt--oltoptiongt) +。 + +## 支援的 Options + +- `repo.private` (true|false) - 修改儲存庫的可見性。 + 與 push-to-create 一起使用時特別有用。 +- `repo.template` (true|false) - 修改儲存庫是否為範本儲存庫。 + +以下範例修改儲存庫的可見性為公開: + +```shell +git push -o repo.private=false -u origin master +``` |