Lf Git Sync

Pulls and synchronizes all git submodules with their remotes. Detects the git root, lists all submodules, pulls the main repo, then for each submodule: pulls if on a tracked branch or runs git submodule update if in detached HEAD state. Handles merge conflicts, network errors, and missing remotes gracefully. Shows a before/after summary with branch and commit state per repo. Use when you need to sync a monorepo with submodules after a teammate pushed changes.

twinfo-io b8b6566 5.8 KB Updated

File contents

twinfo-io/lifters-skills/tree/main/skills/lf-git-sync commit b8b656693e

Frequently asked questions

npx skillmds@latest add twinfo-io/lf-git-sync