git-workflow

Manage advanced Git workflows including rebase, cherry-pick, bisect, and reflog recovery.

3|1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/HouseGarofalo/claude-code-base --skill git-workflow-housegarofalo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflow
Source: https://github.com/HouseGarofalo/claude-code-base/tree/main/.claude/skills/git-workflow
Command: npx skills add https://github.com/HouseGarofalo/claude-code-base --skill git-workflow-housegarofalo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides advanced Git commands and strategies to manage complex version control scenarios, debug issues efficiently, and maintain a clean project history.

Core Features & Use Cases

  • Advanced Branching & Merging: Strategies for feature, bugfix, and hotfix branches, including complex merge resolutions.
  • History Manipulation: Interactive rebase, cherry-picking, and commit amending for a clean and logical commit history.
  • Debugging & Recovery: Utilizes git bisect for bug hunting and git reflog for recovering lost commits or undoing mistakes.
  • Worktree & Stashing: Efficiently manage parallel development and temporary changes.
  • Use Case: When a bug is reported in production, use git bisect to quickly pinpoint the exact commit that introduced the issue, then use interactive rebase to clean up the feature branch before merging.

Quick Start

Use the git-workflow skill to rebase the current feature branch onto the main branch.

Frequently Asked Questions about git-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use git bisect to find the exact commit that introduced a bug?

Git bisect identifies the specific commit introducing a bug by performing a binary search through your commit history. You mark known good and bad commits, and it automatically checks out intermediate versions until the culprit is found.

What is the best way to clean up a feature branch before merging?

Interactive rebase is the best way to clean up a feature branch before merging. It allows you to squash, reorder, or edit commits, ensuring a logical and clean project history prior to integration.

Can I recover lost commits after doing a hard reset in git?

Yes, you can recover lost commits after a hard reset using git reflog. The reflog records updates to the branch tip, allowing you to locate the lost commit hash and restore your branch to its previous state.

How do I manage parallel development across multiple branches without stashing?

Git worktrees allow you to manage parallel development without stashing. They enable you to check out multiple branches simultaneously into separate directories from a single repository.

When should I use git cherry-pick instead of merging?

You should use git cherry-pick instead of merging when you need to apply a specific commit from one branch to another. This isolates individual changes without pulling in the entire branch history.

Does this advanced git workflow support complex merge conflict resolution?

Yes, this workflow supports complex merge conflict resolution. It provides strategies for feature, bugfix, and hotfix branches to handle intricate merges and maintain historical data integrity.