https://github.com/nathabonfim59/gitid
A terminal-based tool that helps developers manage multiple Git identities
https://github.com/nathabonfim59/gitid
Last synced: 12 months ago
JSON representation
A terminal-based tool that helps developers manage multiple Git identities
- Host: GitHub
- URL: https://github.com/nathabonfim59/gitid
- Owner: nathabonfim59
- License: mit
- Created: 2025-01-16T04:49:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-16T05:10:25.000Z (about 1 year ago)
- Last Synced: 2025-01-16T05:32:33.939Z (about 1 year ago)
- Language: Go
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starts - nathabonfim59/gitid - A tool to stop sending work commits with your personal email (cli)
README
# Git Identity Manager (gitid)
A terminal-based tool that helps developers manage multiple Git identities easily through an interactive interface.

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