Git Switch

Community

Switch branches safely

Authordtsong
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you switch between Git branches without losing uncommitted changes, preventing accidental data loss or merge conflicts.

Core Features & Use Cases

  • Safe Branch Switching: Handles uncommitted changes by offering to stash, carry, or discard them.
  • Branch Creation: Allows creating new branches directly during the switch command.
  • Use Case: You're working on a feature, need to quickly check something on main, and have some uncommitted edits. This skill lets you switch to main safely, stashing your changes, and then helps you restore them when you switch back.

Quick Start

Use the git switch skill to switch to the main 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 Switch
Download link: https://github.com/dtsong/claude-code-windows-setup/archive/main.zip#git-switch

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.