Synchronizes local Git repositories by updating main branches, rebasing worktrees, and pruning merged branches.
The Git Workflow Sync skill automates the complex maintenance tasks required to keep a development environment clean and current. It streamlines the synchronization process by fetching remote updates, fast-forwarding the main branch, and automatically rebasing active worktrees to ensure all ongoing work is built on the latest code. Additionally, it identifies and removes 'gone' branches and stale worktree metadata left over from merged pull requests, saving developers from manual repository housekeeping and reducing the risk of working on stale codebases.
主な機能
010 GitHub stars
02Comprehensive reporting on rebase status, conflicts, and removed branches
03Batch rebasing of active Git worktrees onto the updated main branch
04Automatic main/master branch updates with fast-forward protection
05Pruning of stale worktree directories and metadata
06Identification and deletion of local branches with deleted remotes
ユースケース
01Automated cleanup of local clutter after multiple pull requests have been merged on GitHub or GitLab
02Daily repository maintenance to ensure all feature branches are updated with the latest upstream changes
03Managing complex multi-worktree environments without manual directory switching