canasta gitops fix-submodules

From Canasta Wiki
Revision as of 03:34, 26 April 2026 by WikiSysop (talk | contribs) (Update Canasta CLI reference)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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]

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