.gitignore not respected unless there is a .git folder? #3004
-
First up thanks for the amazing work BurntSushi and team! 🎉 I am using a
In this case, the walker includes But if I simply
Is this expected behavior? |
Beta Was this translation helpful? Give feedback.
Answered by
BurntSushi
Mar 1, 2025
Replies: 1 comment
-
Yes. It's documented in the man page. And there is even a flag to disable it: Alternatively, use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
BurntSushi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. It's documented in the man page. And there is even a flag to disable it:
--no-require-git
.Alternatively, use
.ignore
or.rgignore
, which are independent of git.