Skip to content

MultiGit is a command-line tool to manage multiple GitHub identities with SSH keys. Easily switch between users and keep your workflow seamless.

Notifications You must be signed in to change notification settings

laskydev/MultiGit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ MultiGit

Manage multiple Git identities with style and zero hassle.
No more copy-pasting configs or messing with git config every time you switch between your work, personal, or freelance accounts.
With MultiGit, switching users is as easy as running a single command.


✨ Features

  • πŸ” Check current user – instantly see which identity is active.
  • πŸ”„ Switch users on the fly – swap between accounts in seconds.
  • βž• Add new identities – organize personal, work, and side projects.
  • πŸ“‹ List saved users – keep track of all your Git personas.
  • 🎨 Interactive menu – or just run it with options for power users.
  • πŸ›‘οΈ Safe & simple – users are stored in a JSON file, no magic, no headaches.

πŸ“¦ Installation

# Clone the repo
git clone https://github.com/yourusername/multigit.git

# Make it executable
chmod +x multigit.sh

# (Optional) Move it to a directory in your PATH
sudo mv multigit.sh /usr/local/bin/multigit

πŸš€ Usage

Run it without arguments for the interactive menu:

multigit

Or use commands directly:

multigit current   # Show current Git user
multigit switch    # Switch to another saved user
multigit add       # Add a new user
multigit list      # List all saved users
multigit help      # Show help

πŸ–₯️ Demo (sneak peek)

═══════════════════════════════════════
        πŸ”§ Git User Manager
═══════════════════════════════════════

πŸ“‹ CURRENT USER

πŸ‘€ Name: John Doe  
πŸ“§ Email: john@work.com  

πŸ“ Current Repo: multigit  
   URL: git@github.com:john/multigit.git

πŸ’‘ Example workflow

# Add a work account
multigit add
# ID: work
# Name: John Doe
# Email: john@company.com

# Add a personal account
multigit add
# ID: personal
# Name: John Dev
# Email: john.dev@gmail.com

# Switch between them anytime
multigit switch

πŸ™ Why MultiGit?

Because developers are multitaskers. You might be:

  • contributing to open source with your personal account,
  • pushing code at your day job,
  • freelancing with a client repo,
  • or all three in the same day.

MultiGit makes identity management painless. One command, zero headaches.


πŸ“– Roadmap

  • Auto-detect SSH keys per user
  • Export/import users across machines
  • Fuzzy search for faster user switching
  • Zsh/Bash completions

⚑ Quick tagline

MultiGit – one CLI, all your Git identities.

About

MultiGit is a command-line tool to manage multiple GitHub identities with SSH keys. Easily switch between users and keep your workflow seamless.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages