diff options
author | Giteabot <teabot@gitea.io> | 2023-03-13 08:20:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 12:20:10 +0000 |
commit | fa33919e24566fb0e83e1a54616d61b69bdf93cd (patch) | |
tree | a7591013edacf575d58313a5229cfae8d93214c4 /docs | |
parent | b1162495af41e7d2da79e6c716936c2de7e5f44a (diff) | |
download | gitea-fa33919e24566fb0e83e1a54616d61b69bdf93cd.tar.gz gitea-fa33919e24566fb0e83e1a54616d61b69bdf93cd.zip |
Support reflogs (#22451) (#23438)
Backport #22451 by @philip-peterson
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: Philip Peterson <philip-peterson@users.noreply.github.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 5 |
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 bd6e61a3ad..45a312159c 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -1087,6 +1087,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. |