forgejo/docs/content/doc/administration
wxiaoguang 2f149c5c9d
Use [git.config] for reflog cleaning up (#24958)
Follow
https://github.com/go-gitea/gitea/pull/24860#discussion_r1200589651

Use `[git.config]` for reflog cleaning up, the new options are more
flexible.

*
https://git-scm.com/docs/git-config#Documentation/git-config.txt-corelogAllRefUpdates
*
https://git-scm.com/docs/git-config#Documentation/git-config.txt-gcreflogExpire

## ⚠️ BREAKING

The section `[git.reflog]` is now obsolete and its keys have been moved
to the following replacements:
- `[git.reflog].ENABLED` → `[git.config].core.logAllRefUpdates`
- `[git.reflog].EXPIRATION` → `[git.config].gc.reflogExpire`
2023-05-28 01:07:14 +00:00
..
_index.en-us.md
_index.zh-cn.md
_index.zh-tw.md
adding-legal-pages.en-us.md
adding-legal-pages.zh-cn.md
backup-and-restore.en-us.md
backup-and-restore.zh-cn.md
backup-and-restore.zh-tw.md
cmd-embedded.en-us.md
cmd-embedded.zh-cn.md
command-line.en-us.md
command-line.zh-cn.md
config-cheat-sheet.en-us.md
config-cheat-sheet.zh-cn.md
customizing-gitea.en-us.md
customizing-gitea.zh-cn.md
email-setup.en-us.md
email-setup.zh-cn.md
environment-variables.en-us.md
environment-variables.zh-cn.md
external-renderers.en-us.md
external-renderers.zh-cn.md
fail2ban-setup.en-us.md
fail2ban-setup.zh-cn.md
git-lfs-support.en-us.md
git-lfs-support.zh-cn.md
https-support.en-us.md
https-support.zh-cn.md
logging-config.en-us.md
logging-config.zh-cn.md
mail-templates.en-us.md
mail-templates.zh-cn.md
repo-indexer.en-us.md
repo-indexer.zh-cn.md
reverse-proxies.en-us.md
reverse-proxies.zh-cn.md
search-engines-indexation.en-us.md
search-engines-indexation.zh-cn.md
signing.en-us.md
signing.zh-cn.md