worktree-sync

Official

Keep git worktrees in sync.

AuthorHomericIntelligence
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps manage and synchronize multiple Git worktrees, ensuring they are up-to-date with the main branch and remote changes, thereby preventing merge conflicts and maintaining a clean commit history.

Core Features & Use Cases

  • Fetch Remote Changes: Updates your local repository with the latest commits from the remote.
  • Update Main Branch: Pulls the latest changes into your primary development branch.
  • Rebase Feature Branches: Integrates changes from the main branch into your feature branches using a rebase strategy for a linear history.
  • Merge Feature Branches: Alternatively, merges changes from the main branch into feature branches, preserving branch history.
  • Conflict Resolution Guidance: Provides steps to resolve merge conflicts when they arise.
  • Use Case: You're working on a long-running feature branch and need to incorporate the latest updates from main before submitting a pull request. This skill guides you through fetching, updating main, and rebasing your feature branch.

Quick Start

Use the worktree-sync skill to rebase the current feature branch onto the latest main branch.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: worktree-sync
Download link: https://github.com/HomericIntelligence/ProjectOdyssey/archive/main.zip#worktree-sync

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.