Repository navigation
Ignore files when using Storage -> Git #8107
|
Is it possible to ignore files/folders when using Storage synchronization through Git? |
Replies: 1 comment 1 reply
|
There isn't a configurable The module settings have no file or folder exclusion option. The implementation processes incoming Git changes directly. Its Adding A practical workaround is to use a dedicated repository, or a branch containing only the content you want synchronized. If you need to exclude selected pages when exporting from Wiki.js as well, that would require support in the storage module rather than a Git ignore rule. This is based on the current source linked above; I haven't tested it against your installed version. |
There isn't a configurable
.wikijsignoreequivalent in the current Git storage module.The module settings have no file or folder exclusion option. The implementation processes incoming Git changes directly. Its
importAll()traversal also doesn't parse an ignore file.Adding
.gitignorewon't exclude files that are already tracked by Git, and it doesn't provide an import filter for Wiki.js.A practical workaround is to use a dedicated repository, or a branch containing only the content you want synchronized. If you need to exclude selected pages when exporting from Wiki.js as well, that would require support in the storage module rather than a Git ignore rule.
This is based on the current …