auto-git-commit
v0.1.0
Published
A npm module that watches a git repository and commits automatically
Downloads
2
Readme
auto-git-commit
A npm module that watches a git repository and commits automatically
Features
- Commit to Git repository when some files are modified, added or deleted.
- Watch the subdirectories of Git repository in any platforms.
Usage
Install This Module
npm install -g auto-git-commit
Use as a Command Line Tool
auto-git-commit <a directory including Git repository>
Please use Ctrl-C
when you quit to watch the directory.
Use in a Source Code
const directory = /* a directory including Git repository*/
const AutoGitCommit = require('auto-git-commit');
AutoGitCommit.create(directory, {});
Currently, there is no function to quit or unwatch.
License
This software is released under the MIT License, see LICENSE.