Synchronizes local branches with remote changes using an intelligent strategy selector that toggles between rebase and merge based on branch status.
Smart Git Sync automates the complex decision-making process of keeping local branches up-to-date with remote repositories. By analyzing whether a branch has already been pushed to the origin, the skill automatically selects a rebase strategy for local-only work to maintain a clean, linear history, or a merge strategy for public branches to avoid destructive history rewrites. It includes built-in safety mechanisms such as uncommitted change detection and 'rerere' support, making it an essential tool for developers who want to minimize manual Git management and avoid common integration errors.
Key Features
010 GitHub stars
02Support for Git rerere to remember conflict resolutions
03Pre-integration safety checks for uncommitted changes
04Context-aware strategy selection (Rebase vs. Merge)
05Detailed conflict reporting and resolution guidance
06Automatic remote fetching and pruning
Use Cases
01Safely integrating upstream updates into shared public branches without force-pushing.
02Keeping local feature branches updated with the latest main branch changes while maintaining a clean history.
03Streamlining repetitive git fetch and integration workflows through a single Claude Code command.