git-advanced

Manage advanced git operations including worktrees, bisect, interactive rebase, and hooks.

100|18|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Mybono/ai-orchestrator --skill git-advanced-mybono
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-advanced
Source: https://github.com/Mybono/ai-orchestrator/tree/main/skills/git-advanced
Command: npx skills add https://github.com/Mybono/ai-orchestrator --skill git-advanced-mybono

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill unit addresses the complexities of advanced git operations, providing users with tools to manage complex workflows, troubleshoot issues, and optimize their git practices.

Core Features & Use Cases

  • Advanced Workflows: Manage multiple branches simultaneously without stashing or committing work in progress.
  • Bug Tracking: Use bisect to efficiently identify commits that introduced bugs.
  • Commit Management: Interactive rebase to clean up and optimize the commit history.
  • Pre-commit Hooks: Run linters and enforce commit message conventions before pushing.
  • Recovery Techniques: Techniques to recover from common git errors and mistakes.
  • Use Case: For a developer who needs to resolve a merge conflict on a feature branch and then rebase that branch onto the latest main branch, the git-advanced Skill unit provides the necessary commands and workflows.

Quick Start

Use the git-advanced skill to bisect and find the commit that introduced a bug in your codebase.

Frequently Asked Questions about git-advanced

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

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

Git bisect identifies bug-introducing commits by binary searching your history. You mark known good and bad commits, and git automatically checks out intermediate versions to isolate the exact change causing the regression.

How do I clean up and squash commits using interactive rebase?

Interactive rebase optimizes commit history by allowing you to squash, reorder, or edit commits. It opens an editor to select actions for each commit, producing a cleaner, linear history before merging or pushing.

What's the best way to work on multiple branches without stashing changes?

Git worktrees manage multiple branches simultaneously without stashing. They create additional working directories linked to your repository, allowing you to check out different branches in parallel folders.

Can I run linters and enforce commit message conventions before pushing?

Pre-commit hooks run linters and enforce commit message conventions before pushing. They execute custom scripts automatically when you commit, blocking the operation if quality checks fail.

Do I need a specific environment to run advanced git recovery techniques?

Advanced git recovery requires a git repository with a .git directory and appropriate permissions to execute scripts. These techniques recover from common errors using internal git commands and references.

How do I resolve a merge conflict and rebase a feature branch onto main?

To resolve a merge conflict and rebase, first resolve file conflicts manually and stage them. Then run git rebase onto the latest main branch to replay your feature commits linearly over the updated base.