add section about ignore files
@@ -239,6 +239,10 @@ Note that you don't have to specify the directory you want to run against. Runni
You can also run against multiple files or directories `scc directory1 directory2 file1 file2` with the results aggregated in the output.
+### Ignore Files
+
+`scc` mostly supports .ignore files inside directories that it scans. This is similar to how ripgrep, ag and tokei work. .ignore files are 100% the same as .gitignore files with the same syntax, and as such `scc` will ignore files and directories listed in them. You can add .ignore files to ignore things like vendored dependency checked in files and such. The idea is allowing you to add a file or folder to git and have ignored in the count.
+
### Interesting Use Cases
Used inside Intel Nemu Hypervisor to track code changes between revisions https://github.com/intel/nemu/blob/topic/virt-x86/tools/cloc-change.sh#L9
