Agent skill

git-advanced-workflows

Master advanced Git techniques to maintain clean history, collaborate effectively, and recover from any situation with confidence.

Nick44,414★ · +328/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
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.

Facts
Files in the skill folder: 1
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/git-advanced-workflows/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Do not use this skill when
  2. Instructions
  3. When to Use
  4. Core Concepts
  5. 1. Interactive Rebase
  6. 2. Cherry-Picking
  7. 3. Git Bisect
  8. 4. Worktrees
  9. 5. Reflog
  10. Practical Workflows
  11. Workflow 1: Clean Up Feature Branch Before PR
  12. Workflow 2: Apply Hotfix to Multiple Releases
  13. Workflow 3: Find Bug Introduction
  14. Workflow 4: Multi-Branch Development
Commands it runs
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
More from agentic-awesome-skills
All skills →
About this skill
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.

Keep going