← All skills

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.

Class skill ID skill/make-sync Version 1.0.0 Lifecycle stable Author convergent-systems-key
/make sync
codegit syncsubmodulespull
Outputs
NameTypeDescription
sync_report string List of repos synced successfully and any that diverged.
Side effects
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.