Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 368 Bytes

ignore-ripgrep-ignore.md

File metadata and controls

12 lines (9 loc) · 368 Bytes

Ignore Ripgrep Ignore

I have an .rgignore file that ignores half of a monorepo that I almost never want to search in. Sometimes though, I do need to search it, and I'd rather not touch more ignore file. Here's how I override it for one search:

rg "I mean," --no-ignore

This will search in every directory, even those I'm ignoring via the .rgignore.