Getting Started
Install GitID from npm:
bash
npm install -g @akshaymemane/git-idThe npm package installs the gitid command.
Initialize GitID
bash
gitid setupThis creates GitID's local config directory at ~/.config/gitid.
Add Your First Profile
Use the guided form:
bash
gitid add workOr pass everything as flags:
bash
gitid add work \
--user "Work Name" \
--email work@example.com \
--github work-github \
--ssh-key ~/.ssh/work_ed25519Preview A Switch
bash
gitid switch work --dry-runDry-run mode shows what GitID would change without applying it.
Switch Profiles
bash
gitid switch workGitID applies the Git identity, updates SSH integration, and attempts a GitHub CLI auth switch when a GitHub username is configured.
Check Your Setup
bash
gitid doctorUse doctor whenever Git, SSH, or GitHub auth does not feel right.