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

Removing ignored files #162

Open
chuckdumont opened this issue Jan 6, 2021 · 0 comments
Open

Removing ignored files #162

chuckdumont opened this issue Jan 6, 2021 · 0 comments

Comments

@chuckdumont
Copy link

I have a .gitignore with the following contents:

**/*
!README.md
!.gitignore

which basically ignores all files in the directory except the two negated files. Now I want clean the directory of all the ignored files. How can I get globby to return the list of files that should be removed based on the .gitignore.

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

1 participant