git-profile-manager

3

Switch git identities per project without touching config files manually

PythonCLIGitHomebrewDeveloper Tools

The problem

If you work across personal and professional projects, your git identity needs to change depending on context — different name, different email, sometimes different signing key. Doing this manually via git config every time is error-prone and easy to forget.

What it does

gpm is a CLI tool that manages multiple git profiles and lets you switch between them with a single command. Profiles live in a config file you edit once; switching is instant.

Install

brew tap kujov/tap
brew install git-profile-manager

Verify with gpm.

Commands

gpm get       # show the active profile
gpm set       # switch to a different profile
gpm list      # list all configured profiles
gpm edit      # open the config file in vi

How it works

Profiles are stored in a local config file. gpm set writes the selected profile's name and email into your global git config. No shell hooks, no per-repo setup — just a clean swap when you need it.