.quiltignore
.quiltignore keeps files out of a package. It uses the .gitignore syntax.
QuiltSync and the quilt CLI
Three sets of rules apply, each overriding the one before it:
Built-in rules: common clutter, such as hidden folders (
.git/,.venv/), OS files (.DS_Store), secrets (.env,*.pem) and caches (node_modules/). See the full list in Settings → Ignore rules → Review…, where you can also turn a rule off.Your rules: a
.quiltignorein the app's data folder (Settings → Ignore rules → Open file). It applies to every package on your computer.This package's .quiltignore: the file at the top of the package folder. It travels with the package.
Use a ! line to bring back a path that a weaker set ignores.
Built-in rules and your rules only keep out new files; files already in the package stay. The package's .quiltignore also removes matching files from the package on the next commit.
To bring back an ignored file or folder, choose Stop ignoring on its row, for this package or for all packages. quilt status --ignored lists each ignored path with the rule that ignored it.
quilt3
quilt3.Package.set_dir() reads only the .quiltignore in the folder it packages. It matches each line as a shell-style wildcard and does not support ! lines, comments or anchored paths such as /build/.
$ ls
foo.txt bar.txt baz.txt
$ echo foo.txt >> .quiltignore
$ python -c "import quilt3; print(quilt3.Package().set_dir('/', './'))"
(local Package)
└─bar.txt
└─baz.txt
└─.quiltignoreLast updated
Was this helpful?

