v0.1.1
Now Available on Crates.io

Manage Git Identities
Like a Pro

Seamlessly switch between work and personal profiles. Automate your workflow with smart rules and hooks.

Get Started View on GitHub
# Switch to work identity
gid switch work
✓ Switched to project identity: [work] John Doe <john@company.com>
🔑 SSH key configured
🔏 GPG signing enabled

# Auto-detect based on path
gid auto
→ Matched rule: ~/work/** -> [work]

Why use gid?

🔄

One-click Switch

Instantly switch between multiple identities with a single command. No more manual config editing.

🧠

Smart Rules

Define rules based on directory paths or remote URLs to automatically select the right identity.

🔑

SSH & GPG

Automatically manage SSH keys and GPG signing configurations for each identity.

🛡️

Audit & Fix

Scan your commit history for identity mistakes and fix them before pushing.

Blazing Fast

Written in Rust for maximum performance and reliability. Zero runtime dependencies.

🌍

Cross Platform

Works seamlessly on macOS, Linux, and Windows. Consistent experience everywhere.

Install in seconds

cargo install ggid

Or check documentation for other methods.