manages multiple identities (e.g. personal, work, university, ...) in git repos for you
Find a file
2026-02-02 13:01:35 +01:00
.cargo scaffold the CLI, logging and turn research into TODOs 2026-02-01 17:23:35 +01:00
src add a struct for storing identities, construct it when importing and save 2026-02-02 09:02:11 +01:00
xtask generate all the man pages in the manpage xtask 2026-02-02 13:01:16 +01:00
.gitignore scaffold the CLI, logging and turn research into TODOs 2026-02-01 17:23:35 +01:00
Cargo.lock read from an instance of GnuPG 2026-02-02 08:40:49 +01:00
Cargo.toml read from an instance of GnuPG 2026-02-02 08:40:49 +01:00
flake.lock add a nix flake 2026-02-02 13:01:35 +01:00
flake.nix add a nix flake 2026-02-02 13:01:35 +01:00
LICENSE-APACHE scaffold the CLI, logging and turn research into TODOs 2026-02-01 17:23:35 +01:00
LICENSE-MIT scaffold the CLI, logging and turn research into TODOs 2026-02-01 17:23:35 +01:00
README.md scaffold the CLI, logging and turn research into TODOs 2026-02-01 17:23:35 +01:00
TODO.md add a struct for storing identities, construct it when importing and save 2026-02-02 09:02:11 +01:00

git-identity manages part of your git configuration to easily switch between different identities (personal, university, work1, work2, ...), each with their own settings.

Identities can be automatically imported from a GPG key with the git-identity import command.

Once an identity is applied with git-identity use, the following configuration options will be set for the local git repository:

[core]
    sshCommand = "ssh -i $authkey -o IdentitiesOnly=yes"
[user]
    name = $name
    email = $email
    signingKey = $sigkey