Skill
Git Advanced Workflows
Covers the Git commands people avoid until something goes wrong.
Install
/plugin marketplace add wshobson/agents; /plugin install developer-essentials
Triggers on
When history needs cleaning before a merge, a bad commit must be found, or work looks lost after a reset.
- Author
- wshobson
- License
- MIT
Repositoryhttps://github.com/wshobson/agents
Interactive rebase, cherry-pick, bisect, worktrees and reflog are treated as everyday tools rather than emergency measures. The rebase section is about shaping a branch into a history a reviewer can follow; bisect is about finding the commit that broke a test without reading the diff; reflog is the recovery path when a reset or a force-push took something that looked lost. Worktrees cover the case where two branches need to be checked out at once instead of stashing back and forth.
Comments(0)
Sign in to comment