What is a .kiteignore file and how does it work?
.kiteignore specification is Kite's way of allowing users to have fine grained control over which files Kite uploads to its servers.
.kiteignore files have the same syntax and semantics as
.gitignore files (link) except that Kite does not support the
! syntax. If these lines are included in a
.kiteignore file they are ignored.
.kiteignore files must be placed in a whitelisted directory, and they apply to all files and directories that are children of the directory that contains the
Say I have the following directories whitelisted:
and I place the following lines in a
.kiteignore file in
The first rule means that any file path that contains the word "secrets" will be ignored, e.g:
The second rule means that any file path that contains the word "sam" will be ignored, e.g:
- any files that are children of