What problem does it solve?
Sync the current git repo with its remote before starting any code work to prevent merge conflicts caused by stale branches. It ensures your working directory is up-to-date by fetching remote changes, rebasing feature branches onto main, pulling latest on main, and safely stashing work when needed.
Core Features & Use Cases
- Pre-edit synchronization: fetch all remotes, stash dirty changes if needed, rebase on main for feature work or pull latest on main.
- Conflict guardrails: detect conflicts early and provide guidance to resolve them without manual intervention.
- End-of-work guarantees: guidance on pushing changes to the remote to ensure work is preserved and visible to collaborators.
Quick Start
Run git sync before starting work to ensure your branch is up to date and ready for safe edits.