sync-branch

Community

Keep branches in sync with safe automatic merges

Authormostafa-drz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Merges one git branch into another with conflict handling, preserving work in progress and restoring state, enabling reliable synchronization of long-lived branches with upstream.

Core Features & Use Cases

  • Stashes uncommitted work, updates both branches from the remote, performs a merge, and resolves conflicts while preserving changes from both sides.
  • Useful for keeping feature or release branches aligned with their upstreams in collaborative workflows and automated release pipelines.
  • Handles push-back of updated branches and restores the original working branch after the operation.

Quick Start

Run /sync-branch to merge your default source into your current branch.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sync-branch
Download link: https://github.com/mostafa-drz/claude-skills/archive/main.zip#sync-branch

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.