https://github.com/pablopunk/clean-git-cli
Find all git repos that are not 'clean' from your command line
https://github.com/pablopunk/clean-git-cli
Last synced: 11 months ago
JSON representation
Find all git repos that are not 'clean' from your command line
- Host: GitHub
- URL: https://github.com/pablopunk/clean-git-cli
- Owner: pablopunk
- License: mit
- Created: 2017-06-16T23:18:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-16T19:24:24.000Z (over 8 years ago)
- Last Synced: 2024-05-02T05:12:15.613Z (about 2 years ago)
- Language: JavaScript
- Size: 35.2 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# clean-git-cli
Find all git repos that are not 'clean' from your command line
## Install
```sh
npm install -g clean-git-cli
```
## Usage
Use `clean-git -h` to display the following help:
```bash
Commands:
help Display help
Options:
-h, --help Show help
-H, --help Output usage information
-i, --ignores Paths to ignore (defaults to ["node_modules"])
-m, --maxdepth How deep the search gets (defaults to 3)
-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](https://github.com/pablopunk/clean-git-cli/issues/new) or a [PR](https://github.com/pablopunk/clean-git-cli/compare).
## Related
The API for this module => [clean-git](https://github.com/pablopunk/clean-git)
## License
[MIT](license)
## Author
|  |
| --------------------------------- |
| [Pablo Varela](http://pablo.life) |