gitwatch
Automatically commit changes when files are modified
TLDR
Watch directory and auto-commit
$ gitwatch [path]
Watch with custom message$ gitwatch -m "[Auto commit]" [path]
Watch and push$ gitwatch -r [remote] -b [branch] [path]
Watch specific branch$ gitwatch -b [branch] [path]
SYNOPSIS
gitwatch [options] path
DESCRIPTION
gitwatch watches a directory and automatically commits changes whenever files are modified. It uses inotify (on Linux) to detect file changes in real time.
The tool is useful for automatic version control of notes, configuration files, or any directory where you want every change tracked without manual commits.
PARAMETERS
-m message
Commit message.-r remote
Remote to push to.-b branch
Branch name.-d seconds
Delay before commit.-l length
Commit message length.
SEE ALSO
inotifywait(1), git(1)
