npx skills add ...
npx skills add wshobson/agents --skill git-advanced-workflows
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.
npx skills add wshobson/agents --skill git-advanced-workflows
Master advanced Git techniques to maintain clean history, collaborate effectively, and recover from any situation with confidence.
Interactive rebase is the Swiss Army knife of Git history editing.
Common Operations:
pick: Keep commit as-isreword: Change commit messageedit: Amend commit contentsquash: Combine with previous commitfixup: Like squash but discard messagedrop: Remove commit entirelyBasic Usage:
Apply specific commits from one branch to another without merging entire branches.
Binary search through commit history to find the commit that introduced a bug.
Automated Bisect:
Work on multiple branches simultaneously without stashing or switching.
Your safety net - tracks all ref movements, even deleted commits.
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.