clean-git-cli
Find all git repos that are not 'clean' from your command line
Install
npm install -g clean-git-cli
Usage
Use clean-git -h
to display the following help:
Commands: help Display help Options: -h, --help Show help -H, --help Output usage information -i, --ignores <list> Paths to ignore -m, --maxdepth <n> How deep the search gets -v, --version Output the version number Examples: - Find all repos starting from the current directory $ clean-git - Find all repos starting from your home folder $ clean-git ~ - Find all repos starting from "repos", ignoring paths containing *dist* or *node_modules*, and looking only 2 levels deep $ clean-git repos/ -m 2 -i dist -i node_modules
Contribute
Feel free to open an issue or a PR.
Related
The API for this module => clean-git
License
Author
Pablo Varela |