sandman-back-merge

Merge a base branch into the current branch without rewriting history.

5|1|Updated May 8, 2026
One-click install
npx skills add https://github.com/rafaelromao/sandman --skill sandman-back-merge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sandman-back-merge
Source: https://github.com/rafaelromao/sandman/tree/main/internal/skill/sandman/back-merge
Command: npx skills add https://github.com/rafaelromao/sandman --skill sandman-back-merge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of safely merging a base branch into the current branch while resolving conflicts in a disciplined, non-rewriting workflow.

Core Features & Use Cases

  • Safely Merging: Provides a safe and disciplined method for merging branches.
  • Conflict Resolution: Guides the user through a structured process for resolving merge conflicts.
  • Use Case: Ideal for maintaining clean and conflict-free branch histories, ensuring that the merge history accurately reflects the development process.

Quick Start

Merge the base branch 'main' into your current branch using sandman back-merge.

Frequently Asked Questions about sandman-back-merge

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

FAQPage Schema
How do I safely merge a base branch into my current Git branch without rewriting commit history?

Safely merging a base branch without rewriting history requires a disciplined workflow that integrates changes while guiding you through structured conflict resolution steps. This maintains a clean and accurate commit history for your current branch.

What is the best way to resolve merge conflicts when pulling updates from a main branch?

The best way to resolve merge conflicts is by following a structured process that carefully handles typical merge scenarios. This disciplined approach ensures conflicts are resolved cleanly without altering the original commit history.

When do I need to perform a back-merge in version control?

You need a back-merge when updating your current branch with changes from a base branch, such as main. It is ideal for maintaining clean, conflict-free branch histories and ensuring your development process is accurately reflected.

Does this merge method work with typical Git branch management scenarios?

Yes, this merge method is specifically designed to handle typical Git branch management scenarios. It provides a safe, non-rewriting workflow suitable for keeping your current branch updated and conflict-free during development.

Why should I avoid rewriting history when merging branches?

Avoiding history rewriting during merges ensures that the merge history accurately reflects the development process. A safe, non-rewriting workflow maintains clean commit histories and prevents conflicts for other collaborators.