canasta gitops push
From Canasta Wiki
canasta gitops push
Push configuration changes to the git repository
Synopsis
Commit staged changes and push to the remote repository. Files
must be staged first using canasta gitops add. When
pull_requests is enabled in hosts.yaml, creates a branch
and opens a pull request instead of pushing directly to main.
canasta gitops push [flags]
Examples
canasta gitops push
canasta gitops push -m 'Add docs wiki'
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--id |
-i |
Canasta instance ID | * | Both | |
--message |
-m |
Commit message (defaults to 'Configuration update') | Both |
* Defaults to the Canasta instance matching the current directory, if any.
Global Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--help |
-h |
Show help message and exit | Both | ||
--verbose |
-v |
Enable verbose output | Both |