Changes to custom gitignore presets become available only after a Gitea restart

This commit is contained in:
hygienic-books 2022-03-14 03:46:17 +01:00
parent 299b02b2f8
commit a06a2036eb

View File

@ -4,7 +4,7 @@ Optional set of `.gitignore` files primarily to extend the default set available
From [the Gitea docs "Customizing Gitea" page, section "gitignores"](https://docs.gitea.io/en-us/customizing-gitea/#gitignores), put as many `.gitignore` files as you want into your Gitea instance's `${GITEA_CUSTOM}/options/gitignore` location. The value of `${GITEA_CUSTOM}` is available from `gitea help` and defaults to `/data/gitea`. You'll likely want to remove the `.gitignore` extension.
Presets are then available in Gitea's *New Repository* dialog:
After a Gitea restart presets are available in the *New Repository* dialog:
![Gitea New Repository dialog with custom gitignore preset](https://i.imgur.com/xsFxKgX.png "Gitea New Repository dialog with custom gitignore preset")