Created
March 24, 2020 11:01
-
-
Save pavank/aa2ff9115032b2d6fdd930d120d239e2 to your computer and use it in GitHub Desktop.
Git Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ref : https://news.ycombinator.com/item?id=22672682 | |
You can also do a per-directory _global_ git configuration, e.g. | |
in .gitconfig, you say: | |
[user] | |
name = Me Myself | |
email = [email protected] | |
signingkey = D34DB44F | |
[includeIf "gitdir:~/src/github.com/work_org/"] | |
path = ~/.gitconfig_work | |
Then in ~/.gitconfig_work: | |
[user] | |
name = Me Myself | |
email = [email protected] | |
signingkey = D34DC0D4 | |
[core] | |
sshCommand = ssh -i ~/.ssh/work_ed25519 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment