diff options
author | Tait Hoyem <tait@tait.tech> | 2020-09-27 19:20:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-27 15:20:52 -0400 |
commit | c85c9d40c2744b8b76bfa66582bbe20ef3a01dff (patch) | |
tree | 444de12b5410c1f61ac2cc7be86989be80f5efd9 /docs/content/doc/advanced/config-cheat-sheet.zh-cn.md | |
parent | 82179a6e81b4f712d523bd481b18a64c8eb99559 (diff) | |
download | gitea-c85c9d40c2744b8b76bfa66582bbe20ef3a01dff.tar.gz gitea-c85c9d40c2744b8b76bfa66582bbe20ef3a01dff.zip |
Add config option to make create-on-push repositories public by default (#12936)
* Add config option to make create-on-push repositories public by default
* Fix linting
* Add option to 'config cheat sheet' page
* Chinese translation
Signed-off-by: a1012112796 <1012112796@qq.com>
* Fix typo in docs
* fix typo
* Add option to example config
Co-authored-by: Tait Hoyem <code@tait.tech>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'docs/content/doc/advanced/config-cheat-sheet.zh-cn.md')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.zh-cn.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.zh-cn.md b/docs/content/doc/advanced/config-cheat-sheet.zh-cn.md index ac6c94dff2..f771f4fc89 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.zh-cn.md +++ b/docs/content/doc/advanced/config-cheat-sheet.zh-cn.md @@ -30,6 +30,7 @@ menu: - `ANSI_CHARSET`: 默认字符编码。 - `FORCE_PRIVATE`: 强制所有git工程必须私有。 - `DEFAULT_PRIVATE`: 默认创建的git工程为私有。 可以是`last`, `private` 或 `public`。默认值是 `last`表示用户最后创建的Repo的选择。 +- `DEFAULT_PUSH_CREATE_PRIVATE`: **true**: 通过 ``push-to-create`` 方式创建的仓库是否默认为私有仓库. - `MAX_CREATION_LIMIT`: 全局最大每个用户创建的git工程数目, `-1` 表示没限制。 - `PULL_REQUEST_QUEUE_LENGTH`: 小心:合并请求测试队列的长度,尽量放大。 |