What problem does it solve?
This Skill empowers users to effectively manage complex Git histories, recover from mistakes, and collaborate more efficiently by mastering advanced Git commands and workflows.
Core Features & Use Cases
- History Rewriting: Clean up commit messages, reorder, squash, or split commits using interactive rebase.
- Selective Commit Application: Apply specific commits across branches using cherry-picking.
- Bug Finding: Quickly identify the commit that introduced a bug with
git bisect.
- Parallel Development: Work on multiple branches simultaneously without context switching using
git worktrees.
- Recovery: Utilize
git reflog to recover lost commits or branches.
- Use Case: You've made several messy commits on a feature branch and need to clean them up before creating a Pull Request. This Skill guides you through using interactive rebase to squash, reword, and reorder your commits into a clean, logical history.
Quick Start
Use the git-advanced-workflows skill to clean up the last 5 commits on your current branch using interactive rebase.