git-work

Community

Switch branches by switching directories.

AuthorbeeemT
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the friction and context loss of using git checkout when you want to work on multiple branches safely and independently at the same time.

Core Features & Use Cases

  • Branch-per-directory worktrees: creates one directory per branch so switching context is as simple as cding.
  • Fuzzy worktree navigation: resolves branch/worktree names using exact, substring, and Jaro-Winkler matching.
  • Safe sync and cleanup: fetches/prunes and removes stale worktrees while protecting the HEAD branch.
  • Shell wrapper integration: prints machine-readable paths on stdout so an interactive wrapper can automatically cd for you.

Quick Start

Convert an existing repo into a git-work layout by running: go to your repo directory and execute gw init.

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: git-work
Download link: https://github.com/beeemT/git-work/archive/main.zip#git-work

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.