gitwatch: add page (#10324)

* gitwatch: add page

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
pull/23/head
DanielApt 2023-06-05 02:15:41 +01:00 committed by GitHub
parent 9caabee0fa
commit b3e18df10c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
pages/common/gitwatch.md Normal file
View File

@ -0,0 +1,16 @@
# 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}}`