Skip to content

.gitignore not respected unless there is a .git folder? #3004

Answered by BurntSushi
anishkny asked this question in General
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants