CLI:Canasta gitops fix-submodules
From Canasta Wiki
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:
1. Extensions or skins that were added after gitops init and need to be
converted from standalone git repositories to submodules.
2. 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]
Flags
| Flag | Shorthand | Description | Default | Required |
|---|---|---|---|---|
--help |
-h |
help for fix-submodules | ||
--id |
-i |
Canasta instance ID | instance associated with current directory | |
--verbose |
-v |
Verbose output |