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
.