gitid

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 8 Imported by: 0

README ΒΆ

Git Identity Manager (gitid)

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

Demo

Features

  • πŸ”„ 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

Installation

From Binary

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

From Package (Linux)
Debian/Ubuntu:
sudo dpkg -i gitid_*.deb
RedHat/Fedora:
sudo rpm -i gitid_*.rpm
Building from Source
Prerequisites
  • Go 1.21 or later
  • Make
  • NFPM (for package generation)
Build Commands
# 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

Usage

Run gitid to start the interactive interface.

Keyboard Controls
  • ↑/↓ 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
Managing Identities
  • 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

Contributing

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

License

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

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL