globby icon indicating copy to clipboard operation
globby copied to clipboard

Removing ignored files

Open chuckdumont opened this issue 5 years ago • 0 comments

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.

chuckdumont avatar Jan 06 '21 16:01 chuckdumont