git-expert

Automate Git branching, rebasing, and conflict resolution workflows.

20|6|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/ginkida/rustyhand --skill git-expert-ginkida
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-expert
Source: https://github.com/ginkida/rustyhand/tree/main/crates/rusty-hand-skills/bundled/git-expert
Command: npx skills add https://github.com/ginkida/rustyhand --skill git-expert-ginkida

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git operations expert for branching, rebasing, conflicts, and workflows.

Core Features & Use Cases

  • Branching strategies: trunk-based, Git Flow, GitHub Flow.
  • Rebasing and Merging: maintain linear history and preserve commits.
  • Conflict Resolution: resolve conflicts efficiently with best practices.
  • Recovery Techniques: safeties like reflog, reset, and careful merges.
  • Pitfalls to Avoid: warnings about dangerous operations and common mistakes.

Quick Start

Tell me how to resolve a merge conflict in a feature branch and safely rebase it onto main.

Frequently Asked Questions about git-expert

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

FAQPage Schema
How do I resolve a merge conflict in a feature branch and safely rebase it onto main?

To resolve a merge conflict and safely rebase onto main, initiate the rebase, identify conflict markers in the affected files, manually edit them to accept the desired changes, stage the files, and continue the rebase with guardrails to prevent dangerous operations.

What's the best way to choose between Git Flow, GitHub Flow, and trunk-based branching strategies?

Choosing a branching strategy depends on project size and release cadence: trunk-based suits continuous delivery with short-lived branches, GitHub Flow supports simple deployments, and Git Flow handles structured release preparation with dedicated develop and main branches.

How does git reflog work for recovering lost commits after a bad reset or failed rebase?

Git reflog tracks HEAD changes, allowing recovery of lost commits after a bad reset or failed rebase. By referencing the reflog hash, you can reset your branch to the previous state, undoing dangerous operations and restoring commit history safely.

When should I use git rebase instead of git merge to maintain a linear project history?

You should use git rebase instead of git merge when you need to maintain a linear commit history. Rebasing replays your feature commits onto the target branch, avoiding merge commits, while merging preserves the historical context of parallel branch development.

What are common Git pitfalls and dangerous operations to avoid during feature integration?

Common Git pitfalls include force pushing to shared branches, discarding uncommitted changes with hard resets, and improperly aborting rebases. Avoid these dangerous operations by using safe recovery techniques and following established branching strategy guardrails.

Can I automate expert Git workflows for code review and release preparation in projects of any size?

Yes, you can automate expert Git workflows for code review and release preparation in projects of any size. This includes applying safe merge and rebase practices, executing feature integration, and enforcing branching strategies with built-in guidance and guardrails.