Show HN: Gitid – A tool to stop sending work commits with your personal email

1 week ago 5

A terminal-based tool that helps developers manage multiple Git identities easily through an interactive interface.

demo

  • 🔄 Switch between multiple Git identities with ease
  • ➕ Add new identities interactively
  • 🗑️ Delete unwanted identities
  • 💻 Terminal-based UI with keyboard navigation
  • 🔒 Uses Git's built-in configuration system

Download the appropriate binary for your platform from the releases page.

  • Go 1.21 or later
  • Make
  • NFPM (for package generation)
# Build for your current platform make build # Build static binary (Linux only) make build-static # Create releases for all platforms and packages make release # Clean build artifacts make clean

Run gitid to start the interactive interface.

  • ↑/↓ or j/k - Navigate through identities
  • Enter - Select identity or confirm action
  • D - Delete selected identity
  • ←/→ - Navigate confirmation dialog
  • Esc - Cancel current action
  • q - Quit application
  • Switch Identity: Select an identity from the list and press Enter
  • Add Identity: Select "Add new identity" and follow the prompts
  • Delete Identity: Navigate to an identity and press D, then confirm

Contributions are welcome! Please feel free to submit a Pull Request.

This project is licensed under the MIT License - see the LICENSE file for details.

Read Entire Article