summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/advanced/config-cheat-sheet.zh-cn.md
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2018-07-06 13:49:37 +0800
committerLauris BH <lauris@nix.lv>2018-07-06 08:49:37 +0300
commit1675fc4301d4bff339a0831348fca76a9e394999 (patch)
tree73c40d6963b236d6f7ca06866a0e422e0f9a6ec1 /docs/content/doc/advanced/config-cheat-sheet.zh-cn.md
parent61b40520ba9024ee4e8592345eec062795c6346f (diff)
downloadgitea-1675fc4301d4bff339a0831348fca76a9e394999.tar.gz
gitea-1675fc4301d4bff339a0831348fca76a9e394999.zip
add git timeout settings docs (#4383)
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.md7
1 files changed, 7 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 09862cc3b7..a7109572dc 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.zh-cn.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.zh-cn.md
@@ -187,6 +187,13 @@ menu:
- `MAX_GIT_DIFF_FILES`: 比较视图中的最大现实文件数目。
- `GC_ARGS`: 执行 `git gc` 命令的参数, 比如: `--aggressive --auto`。
+## Git - 超时设置 (`git.timeout`)
+- `MIGRATE`: **600**: 迁移外部仓库时的超时时间,单位秒
+- `MIRROR`: **300**: 镜像外部仓库的超时时间,单位秒
+- `CLONE`: **300**: 内部仓库间克隆的超时时间,单位秒
+- `PULL`: **300**: 内部仓库间拉取的超时时间,单位秒
+- `GC`: **60**: git仓库GC的超时时间,单位秒
+
## markup (`markup`)
外部渲染工具支持,你可以用你熟悉的文档渲染工具. 比如一下将新增一个名字为 `asciidoc` 的渲染工具which is followed `markup.` ini section. And there are some config items below.