Agent
1,283 installs
git-advanced-workflows
by wshobson/agents
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use…
Skill content
Advanced Git history management with rebasing, cherry-picking, bisect, worktrees, and reflog recovery. - Interactive rebase enables commit squashing, rewording, reordering, and dropping to clean history before merging - Cherry-pick applies specific commits across branches; bisect uses binary search to find commits that introduced bugs - Worktrees allow simultaneous work on multiple branches without stashing or switching contexts - Reflog tracks all ref movements and recovers deleted commits or branches within 90 days - Includes workflows for cleaning feature branches, applying hotfixes to multiple releases, and recovering from Git mistakes Git Advanced Workflows Master advanced Git techniques to maintain clean history, collaborate effectively, and recover from any situation with confidence. When to Use This Skill - Cleaning up commit history before merging - Applying specific commits across branches - Finding commits that introduced bugs - Working on multiple features simultaneously - Recovering from Git mistakes or lost commits - Managing complex branch workflows - Preparing clean PRs for review - Synchronizing diverged branches Core Concepts 1. Interactive Rebase