git-rebase-main

Community

Keep your feature branch in sync with main.

Authornobelk
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rebase the current branch onto the default branch to incorporate the latest changes from main or master, helping keep feature work up-to-date and reduce merge conflicts.

Core Features & Use Cases

  • Auto-detects whether the default branch is main or master and rebases onto it.
  • Fetches updates from origin and performs a rebase with --autostash to preserve uncommitted changes.
  • Provides guided steps for resolving conflicts and continuing or aborting the rebase when needed.

Quick Start

Run the bundled script from the repository directory to rebase your current branch onto the default branch.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: git-rebase-main
Download link: https://github.com/nobelk/claude-tools/archive/main.zip#git-rebase-main

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.