aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPhilip Peterson <philip-peterson@users.noreply.github.com>2023-03-13 00:51:07 -0700
committerGitHub <noreply@github.com>2023-03-13 15:51:07 +0800
commit757b4c17e900f1d11a81bc9467d90e6c245ee8f2 (patch)
treed73ad5cfdcd0b7db80ee26461b946f68223e7fb8 /docs
parentf521e88240a2d5dd41ee42d78b96fc89309f1790 (diff)
downloadgitea-757b4c17e900f1d11a81bc9467d90e6c245ee8f2.tar.gz
gitea-757b4c17e900f1d11a81bc9467d90e6c245ee8f2.zip
Support reflogs (#22451)
This PR adds support for reflogs on all repositories. It does this by adding a global configuration entry. Implements #14865 --------- Signed-off-by: Philip Peterson <philip.c.peterson@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/advanced/config-cheat-sheet.en-us.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
index a5ef977f15..b67d6cdf5f 100644
--- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md
@@ -1093,6 +1093,11 @@ Default templates for project boards:
- `DISABLE_CORE_PROTECT_NTFS`: **false** Set to true to forcibly set `core.protectNTFS` to false.
- `DISABLE_PARTIAL_CLONE`: **false** Disable the usage of using partial clones for git.
+## Git - Reflog settings (`git.reflog`)
+
+- `ENABLED`: **true** Set to true to enable Git to write changes to reflogs in each repo.
+- `EXPIRATION`: **90** Reflog entry lifetime, in days. Entries are removed opportunistically by Git.
+
## Git - Timeout settings (`git.timeout`)
- `DEFAULT`: **360**: Git operations default timeout seconds.