You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to prevent .git/ from polluting results when searching files inside $dayjob repo. I'll probably never want to search .git/* files, so I put .git/* in ~/.config/git/ignore. However repo has its own .gitignore without .git/* entry, and to my understanding, it takes precedence over global one. If I put .git/* in local .gitignore, fd picks it up immediately, but I don't want to put it for each project I happen to work on.
The text was updated successfully, but these errors were encountered:
fd will merge ~/.config/fd/ignore with local ignore files. However, it doesn't do anything with ~/.config/git/ignore, because in order to do so, it would need to process git configuration (because that locaiton can be overridden with the core.excludesFile configuration).
I'm trying to prevent
.git/
from polluting results when searching files inside $dayjob repo. I'll probably never want to search.git/*
files, so I put.git/*
in~/.config/git/ignore
. However repo has its own .gitignore without.git/*
entry, and to my understanding, it takes precedence over global one. If I put.git/*
in local .gitignore, fd picks it up immediately, but I don't want to put it for each project I happen to work on.The text was updated successfully, but these errors were encountered: