git-advanced-workflows

Rewrite Git history with interactive rebase and cherry-picking.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/juanjaragavi/social-media-genius --skill git-advanced-workflows-juanjaragavi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-advanced-workflows
Source: https://github.com/juanjaragavi/social-media-genius/tree/main/.agents/skills/git-advanced-workflows
Command: npx skills add https://github.com/juanjaragavi/social-media-genius --skill git-advanced-workflows-juanjaragavi

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Master advanced Git workflows to maintain clean, reusable history and recover from mistakes.

Core Features & Use Cases

  • Interactive Rebase: rewrite history to create a clean, linear sequence of commits.
  • Cherry-Picking: selectively apply commits across branches without merging branches.
  • Git Bisect, Worktrees, and Reflog: locate bugs efficiently and manage multiple working trees and safety nets.
  • Practical Workflows: apply fixes across releases and recover from accidental resets.

Quick Start

Rebase your feature branch onto main, then selectively squash commits to prepare a concise PR-ready history.

Frequently Asked Questions about git-advanced-workflows

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

FAQPage Schema
How do I clean up a messy commit history before merging a feature branch?

Interactive rebase rewrites history to create a clean, linear sequence of commits. You can squash commits to prepare a concise PR-ready history for your software development project.

How do I apply specific commits from one branch to another without a full merge?

Cherry-picking selectively applies commits across branches without merging branches. This allows you to apply fixes across releases while keeping your commit history isolated and clean.

How do I locate a specific bug in my version control history?

Git bisect locates bugs efficiently by using a binary search across your commits. It helps pinpoint the exact commit that introduced a regression in your software development project.

What is the best way to recover from an accidental git reset?

Git reflog provides a safety net to recover from accidental resets. It records changes to your branch tips, allowing you to restore lost commits and recover from mistakes.

Can I work on multiple branches simultaneously without stashing my current changes?

Git worktrees manage multiple working trees, allowing you to check out branches simultaneously without stashing. This enables efficient context switching across different features.