git-chain

Automate rebasing and merging of chained Git branches.

22|6|Updated Nov 22, 2025
One-click install
npx skills add https://github.com/dashed/claude-marketplace --skill git-chain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-chain
Source: https://github.com/dashed/claude-marketplace/tree/main/plugins/git-chain
Command: npx skills add https://github.com/dashed/claude-marketplace --skill git-chain

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the management of chains of dependent Git branches, reducing manual rebasing and merging across multiple branches that build on each other.

Core Features & Use Cases

  • Chain setup and orchestration: define an ordered sequence of branches with a root, enabling automated propagation of changes.
  • Rebase or merge entire chains: update all dependent branches from root through the chain with a single command.
  • Chain navigation and maintenance: view, backup, prune, and reconfigure chains as your workflow evolves.
  • Real-world scenario: when a new change lands on the root, all downstream PRs are updated automatically in a predictable order.

Quick Start

Create a new chain with git chain setup <name> <root> <branch1> <branch2> and then run git chain rebase to propagate updates across the chain.

Frequently Asked Questions about git-chain

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

FAQPage Schema
How do I automate rebasing stacked Git branches?

Automate rebasing stacked Git branches by defining an ordered sequence with a root branch and running a single command to propagate changes downstream. This eliminates manual rebase conflicts across dependent branches.

What is a chained Git branch workflow?

A chained Git branch workflow is an ordered sequence of dependent branches built on a root branch. When the root updates, changes propagate through the entire chain, keeping downstream branches synchronized.

How do I set up a chain of dependent Git branches?

Set up a chain of dependent Git branches using the setup command with a name, root, and branch sequence. Once defined, run the rebase command to update all branches from the root through the chain.

Can I merge an entire stack of Git branches at once?

You can merge an entire stack of Git branches at once by running the chain merge command. This orchestrates the merge process across all dependent branches in the defined sequence.

Do I need a specific Git environment to automate branch stacking?

Automating branch stacking requires a Git environment and the git-chain tool installed. These prerequisites support the setup, rebase, and merge commands needed to orchestrate multi-branch workflows.

How do I maintain and prune Git branch chains as my workflow evolves?

Maintain and prune Git branch chains using built-in navigation and maintenance commands. You can view, backup, prune, and reconfigure chains to adapt the branch sequence as your workflow evolves.