sync-branch

Community

Sync branch with main using rebase.

Authordmzoneill
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of updating your current feature branch with the latest changes from the main branch, preventing merge conflicts and keeping your work synchronized.

Core Features & Use Cases

  • Rebase onto Main: Integrates the latest changes from the main branch into your current branch using git rebase.
  • Automatic Stashing: Safely stashes uncommitted changes before rebasing and reapplies them afterward.
  • Optional Force Push: Allows for a force push to your remote branch after a successful rebase.
  • Linting: Includes an option to run linters before a force push to ensure code quality.
  • Use Case: You've been working on a feature branch for a few days and want to incorporate the latest updates from main before creating a pull request.

Quick Start

Sync your current branch with the main branch, stashing and force-pushing any changes.

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/dmzoneill/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 223,000+ vetted skills library on demand.