Skip to content

Instantly share code, notes, and snippets.

View Andrew-SK's full-sized avatar

Andrew Kemm Andrew-SK

  • Melbourne, Australia
View GitHub Profile
@Andrew-SK
Andrew-SK / multi-identity-git-config.md
Last active March 5, 2022 00:49
Multiple git identity setup

This is how I set up my git config to assume different identities depending on which directory I'm working in.

In ~/.gitconfig:

[core]
	# sshCommand = ssh -i ~/.ssh/SOME_RSA_PRIVATE_KEY
[user]
	name = Andrew Kemm
[init]

Keybase proof

I hereby claim:

  • I am andrew-sk on github.
  • I am andrewkemm (https://keybase.io/andrewkemm) on keybase.
  • I have a public key whose fingerprint is 98B6 CE2C 396F 6DE6 F9C2 1BA6 71DE 24AE 9375 93EC

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am andrew-sk on github.
  • I am andrewkemm (https://keybase.io/andrewkemm) on keybase.
  • I have a public key ASD-zxVRy7fRdkqGSfRk4oTCwT0S8ByxWztB3b9JCw93AQo

To claim this, I am signing this object: