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"