Sign in
Explore
Skills · SkillEveryday codingGit & pull requestsReviewed

git-advanced-workflows

Advanced Git: rebasing, cherry-picking, bisect, worktrees and reflog.

Kind
Skill
Works with
Claude Code, Codex
Source
wshobson/agents @ 0874a27b17a2
Path
plugins/developer-essentials/skills/git-advanced-workflows/SKILL.md
Jobs
Git workflow
Topics
Git & pull requests

Credit

Made by
wshobson
Original
github.com/wshobson/agents/blob/0874a27b17a22e2b7c2e2bcd72576…
License
MIT

Listed by Skill Manifest; not made by us.

InstallInstall it from a plugin marketplace.
/plugin install developer-essentials@claude-code-workflows
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/git-advanced-workflows/ (the skill folder)
  • 1 file(s) the skill refers to
  • 1 other file in the folder: references/details.md
Runs scripts
Yes
  • test.sh
  • shell block in the text
  • shell block in the text (references/details.md)
Uses the network
Yes
  • git clone / pull / push
  • git clone / pull / push (references/details.md)
Needs secrets
None found
Reads outside the project
  • ~/projects/myapp (references/details.md)
Source revision
0874a27b17a2
Licence
MIT
Last activity
24 Nov 2026
Source changed after the scan
Yes
  • Last push 24 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# Git Advanced Workflows

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

## When to Use This Skill

- 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 -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
```

### 2. Cherry-Picking

Apply specific commits from one branch to another without merging entire branches.

```bash
…