Gitwatch Cheatsheet

· 114 words · 1 minute read

gitwatch: Automatically commit file or directory changes to a Git repository.

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

For more information, check the repo: https://github.com/gitwatch/gitwatch .

I hope this post helps you. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , Facebook , Telegram and GitHub .

Share: