mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-27 10:07:29 +00:00
repo template supports "exclude" (#470)
https://github.com/go-gitea/gitea/pull/38064
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user