merge-strategy

Configure and apply git merge strategies for Sidecar workflows.

1.0k|79|Updated Dec 26, 2025
One-click install
npx skills add https://github.com/marcus/sidecar --skill merge-strategy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: merge-strategy
Source: https://github.com/marcus/sidecar/tree/main/.claude/skills/merge-strategy
Command: npx skills add https://github.com/marcus/sidecar --skill merge-strategy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simplifies choosing and applying Git merge strategies and managing conflicts within Sidecar's unified workflow.

Core Features & Use Cases

  • Git pull strategy options exposed in Sidecar to perform merge, rebase, fast-forward, and squash workflows.
  • Workspace merge workflows including PR-based and direct-merge patterns with post-merge cleanup.
  • Configurable defaults, merge commit templates, and safety checks for protected branches.

Quick Start

Configure your project to use a defined merge strategy (no-ff, ff, ff-only, squash, or rebase) and follow the workflow to merge branches in Sidecar.

Frequently Asked Questions about merge-strategy

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

FAQPage Schema
How do I configure a git merge strategy for my repository workflow?

To configure a git merge strategy, set a default option such as no-ff, ff, ff-only, squash, or rebase within your project schema. This approach applies the chosen merge strategy consistently across pull requests and direct-merge workflows.

What is the difference between squash, rebase, and fast-forward git merge strategies?

Git merge strategies differ in commit history management: fast-forward keeps a linear history, squash combines commits into one, and rebase rewrites branch history. This Skill applies these git merge strategies with configurable defaults and protected-branch safety checks.

How do I handle git merge conflicts in a pull request workflow?

Handling git merge conflicts in a pull request workflow involves applying reconciliation patterns and merge commit templates. This Skill provides guidance on resolving conflicts and performing post-merge cleanup across PR-based and direct-merge scenarios.

Can I enforce protected branch warnings when merging git branches?

Yes, you can enforce protected branch warnings when merging git branches. The Skill includes safety checks for protected branches and configurable merge commit templates to prevent accidental direct merges to critical branches.

Does Sidecar Git Status support squash and rebase merge workflows?

Yes, Sidecar Git Status supports squash and rebase merge workflows. Developers using Sidecar's Git Status and Workspace plugins can apply merge, rebase, fast-forward, and squash workflows across PR and direct-merge scenarios.

What is the best way to manage branch cleanup after a git merge?

The best way to manage branch cleanup after a git merge is using post-merge cleanup patterns within a unified workflow. This Skill coordinates merge strategies and provides guidance on reconciliation and cleanup for PR-based and direct-merge scenarios.