{"_id":"@akshaymemane/git-id","_rev":"6-058200e821fdf9f5956f572e714d6b76","name":"@akshaymemane/git-id","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@akshaymemane/git-id","version":"0.1.0","keywords":["git","github","ssh","cli","identity"],"license":"MIT","_id":"@akshaymemane/git-id@0.1.0","maintainers":[{"name":"akshaymemane","email":"akshaymemane29@gmail.com"}],"bin":{"gitid":"bin/gitid.js"},"dist":{"shasum":"f85d9f4d26736107900fc26da78cc2dcb767064d","tarball":"https://registry.npmjs.org/@akshaymemane/git-id/-/git-id-0.1.0.tgz","fileCount":8,"integrity":"sha512-q074EZzzqayZCxYdlc///cGoFOyFQjEuRCNCh14CJu8FBb6iCRY+t99gsPmrriIdp/UJqCclfSQI5CzKxc9rGw==","signatures":[{"sig":"MEQCICXGQGhtuEB3ks0fv0OjO86CibubGOJlz9kSumVxYYuyAiAChP5EHd9FBHu2WvuaQoiHk+X5MsfkIMKFqV2jdn2FSg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11986665},"engines":{"node":">=16"},"scripts":{"test":"go test ./...","build":"sh scripts/build-npm.sh","prepack":"npm run build"},"_npmUser":{"name":"akshaymemane","email":"akshaymemane29@gmail.com"},"_npmVersion":"10.8.2","description":"Fast Git identity switching for developers","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/git-id_0.1.0_1779130834818_0.8362891524279488","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@akshaymemane/git-id","version":"0.1.1","keywords":["git","github","ssh","cli","identity"],"author":{"name":"Akshay Memane"},"license":"MIT","_id":"@akshaymemane/git-id@0.1.1","maintainers":[{"name":"akshaymemane","email":"akshaymemane29@gmail.com"}],"homepage":"https://github.com/akshaymemane/gitid#readme","bugs":{"url":"https://github.com/akshaymemane/gitid/issues"},"bin":{"gitid":"bin/gitid.js"},"dist":{"shasum":"665a78f736f497a39b8f3fbc056f96e788da21e0","tarball":"https://registry.npmjs.org/@akshaymemane/git-id/-/git-id-0.1.1.tgz","fileCount":8,"integrity":"sha512-dixZ6chB8q/0O8jOwsGOOWcfgLdje7B010Mmok2YNnrNkquHEDn1uG2cSVfK7LvgbV4gc14UbXkeM6s7Y0S7vg==","signatures":[{"sig":"MEUCIQCk3D+U+3eIIJUm4Kz/bR7FuPnl7uzKYVH9kCIh77UClAIgEbJJ+0WLRl50+Xo++aQD6IENtxru9/oaQiRAmlLYZw4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11987172},"engines":{"node":">=16"},"gitHead":"2e80f5df68a2f56d5d87d975ba17c837f6d7585d","scripts":{"test":"go test ./...","build":"sh scripts/build-npm.sh","prepack":"npm run build"},"_npmUser":{"name":"akshaymemane","email":"akshaymemane29@gmail.com"},"repository":{"url":"git+https://github.com/akshaymemane/gitid.git","type":"git"},"_npmVersion":"10.8.2","description":"Fast Git identity switching for developers","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/git-id_0.1.1_1779165332277_0.7120349978347327","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@akshaymemane/git-id","version":"0.2.0","keywords":["git","github","ssh","cli","identity"],"author":{"name":"Akshay Memane"},"license":"MIT","_id":"@akshaymemane/git-id@0.2.0","maintainers":[{"name":"akshaymemane","email":"akshaymemane29@gmail.com"}],"homepage":"https://github.com/akshaymemane/gitid#readme","bugs":{"url":"https://github.com/akshaymemane/gitid/issues"},"bin":{"gitid":"bin/gitid.js"},"dist":{"shasum":"3944b9b138f7173a4e8b4877230e663b03d3a719","tarball":"https://registry.npmjs.org/@akshaymemane/git-id/-/git-id-0.2.0.tgz","fileCount":8,"integrity":"sha512-A/2c2WjbzmJvTQjHIx2BCPu00aDAPA8+OEaoFyiUVw2MX2S7GTq1jFEBZCPreQz75rfq/uK5H7ewvvu6g5oZkw==","signatures":[{"sig":"MEYCIQCmw3MxLUIPrpBrQ55DvDUQm42hn+ps3TJO+QEzm6wTQQIhAJ/xXh3TdcYv/UPCYND93FzTRPClLkGVA1Ng6uowReAM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19689796},"engines":{"node":">=16"},"gitHead":"2c1ed10e044d8d4eff83419dd431988583c8612f","scripts":{"test":"go test ./...","build":"sh scripts/build-npm.sh","prepack":"npm run build"},"_npmUser":{"name":"akshaymemane","email":"akshaymemane29@gmail.com"},"repository":{"url":"git+https://github.com/akshaymemane/gitid.git","type":"git"},"_npmVersion":"10.8.2","description":"Fast Git identity switching for developers","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/git-id_0.2.0_1779168246663_0.3273136368428953","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@akshaymemane/git-id","version":"0.2.1","keywords":["git","github","ssh","cli","identity"],"author":{"name":"Akshay Memane"},"license":"MIT","_id":"@akshaymemane/git-id@0.2.1","maintainers":[{"name":"akshaymemane","email":"akshaymemane29@gmail.com"}],"homepage":"https://github.com/akshaymemane/gitid#readme","bugs":{"url":"https://github.com/akshaymemane/gitid/issues"},"bin":{"gitid":"bin/gitid.js"},"dist":{"shasum":"302726bd81e79b953d0499fcb4909901648a542b","tarball":"https://registry.npmjs.org/@akshaymemane/git-id/-/git-id-0.2.1.tgz","fileCount":8,"integrity":"sha512-wHSl3Peqx7rYv3pNSAXyEj5WN7f4JTWYBBxijqJt0ilgGbcZdSLuyWsgHpuEb5zkdu34ITWvhW2rdRG3xn34nQ==","signatures":[{"sig":"MEUCIQC10HP2h1ivmfdhKY07C/OR9Dx8yVspnkHukV6pnfjWdgIgHHCJJfM0/5TYm6ZjlhP56ZDPHgPGfTLgebXEunJ/F48=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19690095},"engines":{"node":">=16"},"gitHead":"bf278ad4543797ddc9290d9b3f71a2fa945eb6d9","scripts":{"test":"go test ./...","build":"sh scripts/build-npm.sh","prepack":"npm run build","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"akshaymemane","email":"akshaymemane29@gmail.com"},"repository":{"url":"git+https://github.com/akshaymemane/gitid.git","type":"git"},"_npmVersion":"10.8.2","description":"Fast Git identity switching for developers","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.4"},"_npmOperationalInternal":{"tmp":"tmp/git-id_0.2.1_1779169519090_0.8344954982872779","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@akshaymemane/git-id","version":"0.2.2","keywords":["git","github","ssh","cli","identity"],"author":{"name":"Akshay Memane"},"license":"MIT","_id":"@akshaymemane/git-id@0.2.2","maintainers":[{"name":"akshaymemane","email":"akshaymemane29@gmail.com"}],"homepage":"https://akshaymemane.github.io/gitid/","bugs":{"url":"https://github.com/akshaymemane/gitid/issues"},"bin":{"gitid":"bin/gitid.js"},"dist":{"shasum":"a5dcc861b1693805a64cf1689016b1e1052c03c5","tarball":"https://registry.npmjs.org/@akshaymemane/git-id/-/git-id-0.2.2.tgz","fileCount":8,"integrity":"sha512-wiKPOo2mCG6bINokFNbFmn9I0Rbh9H1/OOHhLce+w0gv937IGImBlJ8kuXrd4Yfbs5THwXKIlfPDDnyEmms8BQ==","signatures":[{"sig":"MEUCIQDU3QoFjlaE/X1wvQAm8AC6fIRqckX/vm/V9faKIAnxsQIgbVY75GQYqD4+yU4nXXziWfozhMTUviQSh6ZvXmxJx+g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19698450},"engines":{"node":">=16"},"gitHead":"2f0f894cab38753701dc751998cf2c0756a019b7","scripts":{"test":"go test ./...","build":"sh scripts/build-npm.sh","prepack":"npm run build","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"_npmUser":{"name":"akshaymemane","email":"akshaymemane29@gmail.com"},"repository":{"url":"git+https://github.com/akshaymemane/gitid.git","type":"git"},"_npmVersion":"10.8.2","description":"Fast Git identity switching for developers","directories":{},"_nodeVersion":"20.19.5","_hasShrinkwrap":false,"devDependencies":{"vitepress":"^1.6.4"},"_npmOperationalInternal":{"tmp":"tmp/git-id_0.2.2_1779175092525_0.02721942461866167","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@akshaymemane/git-id","version":"0.3.0","description":"Fast Git identity switching for developers","author":{"name":"Akshay Memane"},"homepage":"https://akshaymemane.github.io/gitid/","repository":{"type":"git","url":"git+https://github.com/akshaymemane/gitid.git"},"bugs":{"url":"https://github.com/akshaymemane/gitid/issues"},"bin":{"gitid":"bin/gitid.js"},"scripts":{"build":"sh scripts/build-npm.sh","docs:build":"vitepress build docs","docs:dev":"vitepress dev docs","docs:preview":"vitepress preview docs","prepack":"npm run build","test":"go test ./..."},"keywords":["git","github","ssh","cli","identity"],"license":"MIT","engines":{"node":">=16"},"devDependencies":{"vitepress":"^1.6.4"},"_id":"@akshaymemane/git-id@0.3.0","gitHead":"d60198446c448c3888067ca2be9fd9280ae48e61","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-RjxgEew90f/uYLmHxPFbf6oAVMwfPLJq7UTRlYljiKNKTT/poWxGr+MF/42kQ8Oh36bkhRIFsikXDGqHoG64ug==","shasum":"6d4142ad01d286148981e902bc17ec96e8f3c077","tarball":"https://registry.npmjs.org/@akshaymemane/git-id/-/git-id-0.3.0.tgz","fileCount":8,"unpackedSize":19686009,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC3f92mjuNooo0g5JKijzVwuLp7g1vmhp8BxIzbCVEW+gIgEg+vBNPDCl4hvSLvAl2/Fj97IiG80p78V3Q844LNS+Q="}]},"_npmUser":{"name":"akshaymemane","email":"akshaymemane29@gmail.com"},"directories":{},"maintainers":[{"name":"akshaymemane","email":"akshaymemane29@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/git-id_0.3.0_1779188469749_0.5802440429951508"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-18T19:00:34.758Z","modified":"2026-05-19T11:01:10.291Z","0.1.0":"2026-05-18T19:00:35.150Z","0.1.1":"2026-05-19T04:35:32.664Z","0.2.0":"2026-05-19T05:24:07.235Z","0.2.1":"2026-05-19T05:45:19.927Z","0.2.2":"2026-05-19T07:18:12.861Z","0.3.0":"2026-05-19T11:01:10.164Z"},"bugs":{"url":"https://github.com/akshaymemane/gitid/issues"},"author":{"name":"Akshay Memane"},"license":"MIT","homepage":"https://akshaymemane.github.io/gitid/","keywords":["git","github","ssh","cli","identity"],"repository":{"type":"git","url":"git+https://github.com/akshaymemane/gitid.git"},"description":"Fast Git identity switching for developers","maintainers":[{"name":"akshaymemane","email":"akshaymemane29@gmail.com"}],"readme":"# GitID\n\nFast Git identity switching for developers using multiple accounts.\n\n[![npm version](https://img.shields.io/npm/v/@akshaymemane/git-id.svg)](https://www.npmjs.com/package/@akshaymemane/git-id)\n[![GitHub](https://img.shields.io/badge/github-akshaymemane%2Fgitid-black)](https://github.com/akshaymemane/gitid)\n\n## Install\n\n```bash\nnpm install -g @akshaymemane/git-id\n```\n\nThe npm package installs the `gitid` command. macOS and Linux binaries are bundled for arm64 and x64.\n\n## Demo\n\n![GitID terminal demo](docs/public/demo.gif)\n\n## What's New in 0.2\n\nGitID now uses Charm libraries for a cleaner terminal experience:\n\n- styled success, warning, and failure states\n- a readable profiles table\n- a grouped `gitid doctor` report\n- a guided interactive form for `gitid add`\n- `--plain` and `NO_COLOR=1` support for scripts and simple terminals\n\n## Quick Start\n\n```bash\ngitid setup\ngitid add work --user \"Work Name\" --email work@example.com --github work-github --ssh-key ~/.ssh/work_ed25519\ngitid add personal --user \"Personal Name\" --email me@example.com --github personal-github --ssh-key ~/.ssh/personal_ed25519\ngitid switch work\ngitid current\n```\n\nInteractive setup is also supported:\n\n```bash\ngitid add work\n```\n\nGenerate a new SSH key while adding a profile:\n\n```bash\ngitid add work --user \"Work Name\" --email work@example.com --generate-ssh-key\n```\n\n## Commands\n\n```bash\ngitid add <profile>        # create a profile\ngitid list                 # list profiles\ngitid switch <profile>     # apply Git, SSH, and GitHub CLI identity\ngitid current              # show active profile and Git config\ngitid remove <profile>     # remove a profile\ngitid attach <profile> DIR # map a folder to a profile\ngitid auto enable          # enable auto-switching config and print shell hook\ngitid auto enable --install # append shell hook to ~/.zshrc or ~/.bashrc\ngitid doctor               # diagnose local setup\ngitid backup               # back up ~/.gitconfig and ~/.ssh/config\ngitid restore              # restore latest backups\n```\n\nPlain output for automation:\n\n```bash\ngitid --plain doctor\ngitid --color=never list\nNO_COLOR=1 gitid list\n```\n\nForce color when your terminal supports it but detection is too conservative:\n\n```bash\ngitid --color=always doctor\nFORCE_COLOR=1 gitid list\n```\n\n## Documentation\n\nThe full VitePress documentation lives in `docs/`.\n\n```bash\nnpm run docs:dev\nnpm run docs:build\n```\n\nUseful aliases:\n\n```bash\ngitid ls\ngitid sw work\ngitid status\n```\n\n## Auto Switching\n\nAttach a folder and install the shell hook:\n\n```bash\ngitid attach work ~/office\ngitid auto enable --install\n```\n\nRestart your shell. When you `cd` into `~/office` or any child folder, GitID applies the attached profile.\n\n## Safety\n\nGitID keeps all data local in `~/.config/gitid/profiles.yaml`. It does not store passwords or upload credentials.\n\nBefore modifying Git or SSH config, GitID creates backups under `~/.config/gitid/backups`.\n\nUse dry-run mode to preview a switch:\n\n```bash\ngitid switch work --dry-run\n```\n\n## Notes\n\nThe product and binary are named `gitid`. The npm package is scoped as `@akshaymemane/git-id` because unscoped names close to `gitid` are blocked by the public npm registry similarity guard.\n","readmeFilename":"README.md"}