sync-submodules

Installation
SKILL.md

Quick Usage (Already Configured)

1) See what is dirty (root + submodules)

date
git status --porcelain
git submodule foreach --recursive 'echo "--- $name ($path)"; git status --porcelain'

2) If a submodule is dirty, stash inside that submodule

Example for _repos/openwork when Cargo.lock blocks an update:

git -C _repos/openwork status --porcelain
git -C _repos/openwork stash push -u -m "wip: allow submodule update"

Notes:

  • Stashes are per-repo. You must run git stash in the submodule itself.
Related skills
Installs
2
GitHub Stars
11
First Seen
Mar 13, 2026