Skill
Git Advanced Workflows
wshobson
Reshapes an existing Git history and untangles branches - interactive rebase, cherry-picking, bisecting to the commit that broke something, worktrees, and rescuing lost work through the reflog. It is about MANIPULATING the repository's history and recovering from mistakes, not about how you word a commit, open a pull request, or cut a release.
Situations it fits
Your feature and main branches got tangled: a few commits need to be moved to a new branch, one important change seems to have vanished from the log, and a recent commit introduced a failing test you must locate.You accidentally pushed a large binary in the middle of a feature's sequence and later realised one of your commits was effectively empty; you want to surgically remove the bad object and restore a commit you thought overwritten.A teammate pushed a messy series of edits and you need to reorder, combine, and drop some of those recorded changes before the branch goes public so the log reads sensibly.6 scenarios in the bank answer to Git Advanced Workflows. The rest are in the game.
Skills it gets confused with
These share a family with Git Advanced Workflows, which is another way of saying they are the ones you might reach for by mistake.
- Conventional CommitShapes the message of the commit you are about to make into the Conventional Commits…
- Create Pull RequestTurns a finished feature branch into a review-ready GitHub pull request - confirming the…
- Release SkillsCuts a versioned release for whatever kind of project you have - detecting the version…
Knowing what Git Advanced Workflows does is the easy half. Telling it apart from the others under time pressure is the game.
Today's sessionGit Advanced Workflows is part of wshobson/agents. Licence: MIT. The description above was written for this game, not taken from the skill.