git-advanced-workflows
Master advanced Git techniques to maintain clean history, collaborate effectively, and recover from any situation with confidence.
npx skills add sickn33/agentic-awesome-skills --skill git-advanced-workflows --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Git Advanced Workflows Master advanced Git techniques to maintain clean history, collaborate effectively, and recover from any situation with confidence. ## Do not use this skill when - The task is unrelated to git advanced workflows - You need a different domain or tool outside this scope ## Instructions - Clarify goals, constraints, and required inputs. - Apply relevant best practices and validate outcomes. - Provide actionable steps and verification. ## When to Use - 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 Interactive rebase is the Swiss Army knife of Git history editing. **Common Operations:** - `pick`: Keep commit as-is - `reword`: Change commit message - `edit`: Amend commit content - `squash`: Combine with previous commit - `fixup`: Like squash but discard message - `drop`: Remove commit entirely **Basic Usage:** ```bash # Rebase last 5 commits git rebase
- Do not use this skill when
- Instructions
- When to Use
- Core Concepts
- 1. Interactive Rebase
- 2. Cherry-Picking
- 3. Git Bisect
- 4. Worktrees
- 5. Reflog
- Practical Workflows
- Workflow 1: Clean Up Feature Branch Before PR
- Workflow 2: Apply Hotfix to Multiple Releases
- Workflow 3: Find Bug Introduction
- Workflow 4: Multi-Branch Development
Rebase last 5 commits git rebase -i HEAD~5 Rebase all commits on current branch git rebase -i $(git merge-base HEAD main) Rebase onto specific commit git rebase -i abc123 Cherry-pick single commit git cherry-pick abc123 Cherry-pick range of commits (exclusive start) git cherry-pick abc123..def456
What does the git-advanced-workflows skill do?
Master advanced Git techniques to maintain clean history, collaborate effectively, and recover from any situation with confidence.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill git-advanced-workflows --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.