git-advanced-workflows

Guide advanced Git operations like rebasing, cherry-picking, bisect, and reflog recovery.

Updated Jul 7, 2026
One-click install
npx skills add https://github.com/voidrot/agents --skill git-advanced-workflows-voidrot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-advanced-workflows
Source: https://github.com/voidrot/agents/tree/main/skills/version-control/git-advanced-workflows
Command: npx skills add https://github.com/voidrot/agents --skill git-advanced-workflows-voidrot

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps manage complex Git workflows, clean up commit histories, recover lost changes, and synchronize branches.

Core Features & Use Cases

  • Advanced Git Operations: Offers detailed guides on rebase, cherry-pick, bisect, and reflog recovery.
  • Worktree Management: Supports multi-branch development with worktrees.
  • History Cleanup: Provides techniques for history cleanup and branch synchronization.
  • Troubleshooting: Includes recovery methods from Git mistakes.
  • Use Case: If you need to fix a security vulnerability in multiple release branches and want to ensure clean history, this skill can guide you through creating a hotfix and applying it across branches without breaking the workflow.

Quick Start

Use the git-advanced-workflows skill to learn how to perform a bisect to find the commit that introduced a bug.

Frequently Asked Questions about git-advanced-workflows

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

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

Git bisect finds bug-introducing commits by binary searching your history. You mark commits as good or bad, and Git automatically checks out intermediate revisions until it identifies the exact commit that introduced the regression.

What is the best way to apply a hotfix to multiple release branches in git?

Applying a hotfix across release branches is best done with git cherry-pick. You create the fix on a main branch, then cherry-pick the specific commit into each release branch to ensure synchronization without breaking existing workflows.

How does git reflog work for recovering lost commits?

Git reflog records a history of all reference updates, including hard resets and deleted branches. By checking the reflog, you can find the hash of lost commits and use git checkout or git reset to restore your repository to a previous state.

When do I need to use git worktrees for multi-branch development?

Git worktrees are needed when you want to work on multiple branches simultaneously without stashing changes. They allow you to check out multiple branches into separate directories, enabling parallel development and testing on the same repository.

Can I use git rebase to clean up a complex commit history?

Yes, git rebase is used to clean up commit history by reordering, squashing, or editing commits. It rewrites your branch history to maintain a clean, linear progression before merging changes into your main branch.

How do I synchronize branches after cleaning up my git history?

To synchronize branches after history cleanup, you use git rebase or git merge to align your commits. This ensures all branches reflect the cleaned history and prevents conflicts during future integrations.