mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-16 17:49:13 +00:00
Update cheatsheets
This commit is contained in:
21
gitwatch
Normal file
21
gitwatch
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user