diff --git a/docs/usage/repository/template-repositories.md b/docs/usage/repository/template-repositories.md index dc15d561..bf489601 100644 --- a/docs/usage/repository/template-repositories.md +++ b/docs/usage/repository/template-repositories.md @@ -37,6 +37,16 @@ a/b/c/d.json **.[bB][aA][tT] ``` +Gitea also supports to use sections to exclude some files: + +``` +[expand] +*.md + +[exclude] +*.log +``` + ## Variable Expansion In any file matched by the above globs, the variables below will be expanded.