git-sw

Community

Switch Git profiles in TUI or automation mode.

Authorthansetan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Managing multiple Git identities (name, email, and optional signing keys) is annoying when you switch between work, personal, and project-specific setups—especially when you need consistent .gitconfig behavior across repositories.

Core Features & Use Cases

  • Switch profiles (use): Apply a selected profile’s configuration to Git by updating include.path entries.
  • Create/edit/delete profiles: Manage stored profiles that map identity settings into saved .gitconfig fragments.
  • TUI for humans + non-interactive mode for agents: Use an interactive prompt experience for manual workflows, or rely on flag-based execution in --no-tui mode for automation and CI.

Quick Start

Use the command git-sw --no-tui --profile work --name "User Name" --email "[email protected]" create to create a new Git profile named work without any interactive prompts.

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

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.