Make Sync
Pull all repos in the workspace (primary + submodules) to their default branch heads. Fast-forward only — never rebases, never force-pulls, never touches non-default branches. Reports any repos where fast-forward failed due to divergence.
/make sync
codegit syncsubmodulespull
Outputs
| Name | Type | Description |
|---|---|---|
sync_report | string | List of repos synced successfully and any that diverged. |
Side effects
- pulls default branch on all repos
- updates submodule pointers
System prompt fragment
Sync all repos to their remote default branch. (1) Discover primary repo and all git submodules. (2) For each repo: git fetch --prune, then pull the default branch (main/master) with --ff-only. (3) Report any repos where --ff-only failed (diverged) without force-pulling. (4) Update submodule pointers in the parent repo if any changed. Never rebase, never force-pull, never touch non-default branches.
Attribution: convergent-systems-key. License: Apache-2.0 or as stated by the originating repository.