diff --git a/pages/common/gitwatch.md b/pages/common/gitwatch.md new file mode 100644 index 000000000..23c0113f5 --- /dev/null +++ b/pages/common/gitwatch.md @@ -0,0 +1,16 @@ +# gitwatch + +> Automatically commit file or directory changes to a git repository. +> More information: . + +- 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}}`