Skip to content

gtl watch

Automatically stage and commit local repository changes in a terminal loop until interrupted, optionally pushing each commit. Use --url to target a specific repository by its remote URL.

Usage

bash
gtl watch [flags]

Full Help

text
Automatically stage and commit local repository changes in a terminal loop until interrupted, optionally pushing each commit. Use --url to target a specific repository by its remote URL.

Usage:
  gtl watch [flags]

Flags:
  -h, --help                    help for watch
  -i, --interval int            Commit interval in seconds (default 30)
  -m, --message-prefix string   Prefix for generated commit messages (default "chore: watch snapshot")
      --no-verify               Skip git hooks
      --push                    Push each generated commit to the current branch
  -u, --url string              Remote repository URL to watch (e.g., https://github.com/owner/repo or owner/repo)

Released under the MIT License.