Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not show files in .gitignore #4

Closed
sharkdp opened this issue May 9, 2017 · 2 comments
Closed

Do not show files in .gitignore #4

sharkdp opened this issue May 9, 2017 · 2 comments

Comments

@sharkdp
Copy link
Owner

sharkdp commented May 9, 2017

  • Parse .gitignore files in directories and ignore respective files
  • Also, ignore .git folders (and similar for other VCS)
@sharkdp
Copy link
Owner Author

sharkdp commented May 14, 2017

@SimenB
Copy link

SimenB commented Oct 22, 2017

I might be stupid now, but how do I ignore the .git directory with --hidden turned on?

Use case is fd --hidden --type files to list all files.

Doing fd -Ht files '!.git' or fd -Ht files '!\.git results in zero output (that is, negating a pattern seems to have no effect).

EDIT: I might need #89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants