Open TysonAndre opened 3 years ago
I was also looking for some description or spec for the ignore format. You often find subtle differences in ignore file behaviour (*
, **
, negation etc) so would be good to see some stronger docs and perhaps some examples. God forbid I search through every node_modules directory.
The blog post here suggests that sift and ripgrep are using the same .ignore protocol, which suggests there should be a shared spec?
https://github.com/ggreer/the_silver_searcher/wiki/Advanced-Usage#ignoring-files currently does not link to gitignore
There's a brief note already that
This could be elaborated further. Some ideas:
!
negation, etc., for users unfamiliar with the .gitignore file format