Skip to content

Can I use .rgignore to list the specific folders that SHOULD be searched? #2240

Discussion options

You must be logged in to vote
*
!/foo

That ignores everything except for foo in the same directory as the rgignore.

It's hard to tell if this is the answer you're looking for though. Namely, you've described your problem instead of showing your problem. It would be better to include a concrete example that you want to work.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@professionalPeter
Comment options

@BurntSushi
Comment options

@professionalPeter
Comment options

Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants