LinuxCommandLibrary

gitwatch

Watch Git repository for changes in real-time

TLDR

Automatically commit any changes made to a file or directory

$ gitwatch [path/to/file_or_directory]
copy

Automatically commit changes and push them to a remote repository
$ gitwatch -r [remote_name] [path/to/file_or_directory]
copy

Automatically commit changes and push them to a specific branch of a remote repository
$ gitwatch -r [remote_name] -b [branch_name] [path/to/file_or_directory]
copy

SYNOPSIS

gitwatch [OPTIONS] [PATH]

PARAMETERS

--repo
    Remote Git repository URL to push to

--branch
    Target branch name (default: current)

--message