Ever find that managing multiple git identities is a pain? This git transport attempts to make it less painful.
git 2.10or later because ofcore.sshCommand.- GNU bash
- awk (BSD or GNU awk recommended)
- openssh client with ssh-agent
bash, awk, and openssh are available by default on Mac OS X, BSD, and most flavors of GNU/Linux.
Add git-idm script to your $PATH and make it executable. Then, you can
access the script via git idm. See git idm help for usage.
Remove all data stored in $HOME/.gitconfig related to git idm. This will
not affect settings used by git.
git idm uninstall
Add your first identity.
git idm add jcool --name "Joe Cool" --email joe@example.com --key ~/.ssh/id_rsa
Activate your identity.
git idm use jcool
Show which identity is active.
git idm active
List all known identities.
git idm list
For more commands see git idm help.
