From b3e18df10c809b8656816b5ba39cb4606d3fa891 Mon Sep 17 00:00:00 2001 From: DanielApt Date: Mon, 5 Jun 2023 02:15:41 +0100 Subject: [PATCH] gitwatch: add page (#10324) * gitwatch: add page --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/gitwatch.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/gitwatch.md diff --git a/pages/common/gitwatch.md b/pages/common/gitwatch.md new file mode 100644 index 0000000000..23c0113f59 --- /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}}`