1.0.3 • Published 3 years ago

git-watch-node v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

git-watch-node

This is a CLI tool that watches for changes in a repo to automatically commit and push up to your git remote repository.

How to use

You can clone this repo and run npm link inside of the repo.

From there, you can call git-watch-node from the repo you wish to watch, using the following argument options to tailor the script.

Arguments

-t [number=60000]

The amount of time between intervals when the script will check for changes. If using this flag, the value you pass in should be in milliseconds. It defaults to 10 minutes.

-f [string="y-MM-dd HH:mm:ss"]

The format that the commit timestamp will take after. The format must be readable by date-fns. The default value and commit message looks like this.

Commit (2021-02-28 18:02:01)
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago