canasta gitops fix-submodules
From canasta
canasta > gitops > fix-submodules
canasta gitops fix-submodules
Convert extensions and skins to proper git submodules
Synopsis
Fix submodule registration in an existing gitops repository.
This handles two cases:
- Extensions or skins that were added after gitops init and need to be converted from standalone git repositories to submodules.
- Submodules listed in .gitmodules that were accidentally committed as regular directories instead of gitlinks.
After fixing, run canasta gitops push to push the changes.
canasta gitops fix-submodules [flags]
Examples
canasta gitops fix-submodules
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--id |
-i |
Canasta instance ID | * | 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 |