Are you juggling between work and personal Git accounts? Tired of manually editing your git config file? Say hello to GitHotswap - your new favorite Git profile management tool!
The Problem 🤔
As developers, many of us maintain separate Git identities:
- Work email for company projects
- Personal email for open-source contributions
- Maybe even a third one for that secret side project? 😉
Switching between these profiles has always been a hassle, requiring manual edits to your Git config or complex shell scripts.
Enter GitHotswap ✨
GitHotswap is a lightweight CLI tool that makes switching between Git profiles as easy as running a single command. Built with Go, it's blazing fast and comes with a clean, intuitive interface.
Key Features
- 🚀 Quick profile switching with an interactive menu
- 💼 Create and manage multiple Git profiles effortlessly
- 🔍 View your current active profile at any time
- ⚡ "Hotswap" mode for even faster profile switching
- 🛡️ Works with local Git repositories
- 🏞 Native Windows support (with more platforms coming soon!)
How It Works
# Switch profiles using an interactive menu
git-hotswap swap menu
# Quick swap between profiles
git-hotswap swap hotswap
# Create a new profile
git-hotswap profile create work
# List all your profiles
git-hotswap profile list
# Check your current profile
git-hotswap profile current
Why You'll Love It
-
No More Manual Edits: Say goodbye to editing
.gitconfig
by hand - Lightning Fast: Built with Go for optimal performance
- User-Friendly: Simple commands and interactive menus
- Profile Management: Create, edit, and delete profiles with ease
- Configuration Backup: Backup and restore your Git profiles
Getting Started
Download the latest release from GitHub or build from source:
git clone https://github.com/artumont/GitHotswap
cd GitHotswap
go build -o ./bin/git-hotswap.exe ./src/
The Future
GitHotswap is actively maintained and growing. We're working on:
- Support for more platforms
- Additional profile management features
- Enhanced customization options
Join the Community!
GitHotswap is open source and welcomes contributions! Whether it's feature suggestions, bug reports, or code contributions, we'd love to have you involved.
Check out the GitHub repository to:
- Star the project
- Report issues
- Submit pull requests
Managing multiple Git profiles shouldn't be a hassle. Try GitHotswap today and streamline your Git workflow! Don't forget to leave a ⭐ if you find it useful!