powershell - Silver Searcher - How to ignore a file -
according docs, should be
--ignore pattern
i have file containing tags, named "tags". have tried following, each of them still searches through tag file..
ag -qt --ignore ".*tags" "asdf" ag -qt --ignore .*tags "asdf" ag -qt --ignore "tags" "asdf" ag -qt --ignore tags "asdf" ag -qt --ignore *tags
and none of them works.
if use what's suggested here, ag doesn't accept @ all
i tried work around renaming temp.tags , using *.tags
pattern try , ignore it, still doesn't work.
any ideas?
put list of files exclude in .agignore
.
note: @denilsonsámaia mentioned, .agignore
deprecated in favor of .ignore
geoff.greer.fm/2016/09/26/ignore
Comments
Post a Comment