pecise
v1.0.1
Published
Automatic version control
Downloads
2
Readme
pecise
$ npm i -g pecise
$ pecise w .
This will automatically create a git commit whenever you change a file.
Why?
This basically gives you a unlimited history
This is useful for small, short lasting projects. It allows you to protype fast and just jump back to an old version, whenever you want.
Usage
Make sure that you have created and initialized a git repo.
$ git init
$ touch README.md
$ git commit -m"Initial commit"
Then start watching for changes:
$ pecise w .
There are some options, which you can retrieve using pecise w --help
:
Usage: watch|w [options] <path>
watch directory and commit on change
Options:
-t, --timeout <seconds> timeout before commiting
-g, --git <path> path to git repository
-b, --branch <path> branch for commits
-h, --help output usage information
Installation
Install globally using npm:
$ npm i -g pecise