clean-git

2.1.0 • Public • Published

clean-git

Find all git repos that are not 'clean'

Install

npm install clean-git

Usage

const cleanGit = require('clean-git')
cleanGit({ baseDir: '~', maxDepth: '2', ignores: ['node_modules'] })
.then(console.log)
/* =>
[ '/Users/pablopunk/repos/bashy',
  '/Users/pablopunk/repos/hyper',
  '/Users/pablopunk/www/gmaps', ]
*/

Contribute

Feel free to open an issue or a PR.

License

MIT license

Related

CLI for this module => clean-git-cli

Author

me
Pablo Varela

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    1
    • latest

Version History

Package Sidebar

Install

npm i clean-git

Weekly Downloads

1

Version

2.1.0

License

MIT

Last publish

Collaborators

  • pablopunk