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.