bgit

CLI Tool for Multi-User Git Management

A powerful command-line tool to manage multiple Git identities. Switch between work, personal, and client accounts with one command.

Why bgit?

The Problem

  • -Manually editing .gitconfig and .ssh/config for each account
  • -Accidentally pushing commits with the wrong identity
  • -Complex SSH host configurations for each account
  • -Never sure which account you're currently using

The Solution

  • +One command to switch: bgit use work
  • +Workspaces for automatic identity by folder
  • +Built-in diagnostics with bgit doctor
  • +Keep using normal git commands

Features

Everything you need in a Git identity management CLI tool

Identity Switching

Seamlessly switch between work, personal, and client accounts with one command

Workspaces

Organize projects by identity. Repos in workspace folders automatically use the right account

SSH Management

Automatic SSH key generation and configuration for each identity

Diagnostics

Built-in doctor command to diagnose and auto-fix SSH permissions and config issues

Cross-Platform

Works perfectly on Linux, macOS, and Windows

Repo Binding

Bind individual repos to specific identities for persistent ownership

Ready to simplify your Git workflow?

Join developers who use this CLI tool to manage multiple Git accounts effortlessly