// readme

GitHub Account Switcher

Modern CLI tool for managing multiple Git identities with automatic switching

โœจ Features

  • Git includeIf automation - Set up once, switches automatically by directory
  • SSH config with IdentitiesOnly - Proper multi-account SSH key isolation
  • Multi-email support - Multiple emails per profile for different contexts
  • Auto SSH key management - Platform-specific keychain integration
  • Profile import/export - Share configurations across machines
  • GPG commit signing - Automatic GPG key management per profile
  • Cross-platform - Single binary for macOS, Linux, and Windows

๐Ÿš€ Quick Start

Installation

# macOS (Apple Silicon)
curl -L https://github.com/calghar/gh-account-switcher/releases/latest/download/gh-switch-darwin-arm64 -o gh-switch
chmod +x gh-switch
sudo mv gh-switch /usr/local/bin/

# macOS (Intel)
curl -L https://github.com/calghar/gh-account-switcher/releases/latest/download/gh-switch-darwin-amd64 -o gh-switch
chmod +x gh-switch
sudo mv gh-switch /usr/local/bin/

# Linux
curl -Lโ€ฆ