aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLionel Henry <lionel.hry@gmail.com>2016-04-05 07:51:59 +0200
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2016-04-05 08:51:59 +0300
commitbd68bf45bad027d2f1c32ca88da9e7a01b67664a (patch)
tree21197137f21d784de64e254ae9c5f88df3287bc4 /README.md
parentb93775e7d4b7a680af8eed1b0db5896122035252 (diff)
Let user override ignored files
Closes #892
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index b2685c8..adda90f 100644
--- a/README.md
+++ b/README.md
@@ -466,6 +466,19 @@ If both directories to keep and ignore are specified, the directories
to keep first apply, restricting what files are considered. The paths
and patterns to ignore are then applied to that set.
+Finally, you can override ignored files. This is especially useful
+when some files ignored by your VCS should be considered as part of
+your project by projectile:
+
+```
+!/src/foo
+!*.yml
+```
+
+When a path is overridden, its contents are still subject to ignore
+patterns. To override those files as well, specify their full path
+with a bang prefix.
+
### Customizing project root files
You can set the values of `projectile-project-root-files`,