1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:22:10 +02:00
tldr/pages/common/gitwatch.md
DanielApt b3e18df10c
gitwatch: add page (#10324)
* gitwatch: add page

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-06-05 06:45:41 +05:30

16 lines
551 B
Markdown

# 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}}`