snippetbashTip
gitwatch — Automatically commit file or directory changes to a Git repository. More information: <https://githu
Viewed 0 times
directorycommandcommitclifilechangesautomaticallygitwatch
Problem
How to use the
gitwatch command: Automatically commit file or directory changes to a Git repository. More information: <https://github.com/gitwatch/gitwatch>.Solution
gitwatch — Automatically commit file or directory changes to a Git repository. More information: <https://github.com/gitwatch/gitwatch>.Automatically commit any changes made to a file or directory:
gitwatch {{path/to/file_or_directory}}Automatically commit changes and push them to a remote repository:
gitwatch -r {{remote_name}} {{path/to/file_or_directory}}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}}Code Snippets
Automatically commit any changes made to a file or directory
gitwatch {{path/to/file_or_directory}}Automatically commit changes and push them to a remote repository
gitwatch -r {{remote_name}} {{path/to/file_or_directory}}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}}Context
tldr-pages: common/gitwatch
Revisions (0)
No revisions yet.