Git Account & SSH Key Manager is a CLI for developers who need to manage multiple GitHub accounts and SSH keys on one machine.
The gacc project helps you switch Git identities safely, configure account-specific SSH access, and avoid authentication mistakes across work and personal repositories.
gacc helps you:
Create separate SSH identities for each account and apply the correct one to each repository.
gacc automates that workflow.
Use a dedicated account profile for each identity and choose one of three workflows:
gacc activate [name] for per-repository manual switchinggacc auto add [name] [directory] for directory-based automatic switchinggacc global activate [name] for a machine-wide defaultRun gacc status to see which layer is active for the current directory.
Yes. gacc is designed to keep account switching local to the current repository instead of changing your global Git setup.
Yes. gacc auto add uses Git includeIf rules so directories like ~/Work and ~/Personal can automatically use different identities.
gacc applies the most specific rule first:
gacc activategacc auto addgacc global activate