16 lines
554 B
Markdown
16 lines
554 B
Markdown
`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:
|
|
|
|
```.git/config
|
|
[core]
|
|
sshCommand = "ssh -i $authkey -o IdentitiesOnly=yes"
|
|
[user]
|
|
name = $name
|
|
email = $email
|
|
signingKey = $sigkey
|
|
```
|