How I configure my Git identities
benji.dog
How I configure my Git identities
1–10 of 113 posts
Re: How I configure my Git identities
#2Just put this in your ~/.gitconfig (or ~/.config/git/personal as in the article)
[core]
sshCommand = /usr/bin/ssh -o IdentitiesOnly=yes -i ~/.ssh/IdentityFile2 -a
This makes submodules easy without the `insteadOf`Re: How I configure my Git identities
#3Re: How I configure my Git identities
#4you don't have to mess with ~/.ssh/config Just put this in your ~/.gitconfig (or ~/.config/git/personal as in the article) [core] sshCommand = /usr/bin/ssh -o IdentitiesOnly=yes -i ~/.ssh/IdentityFile2 -a This makes submodules easy without the `insteadOf`
Re: How I configure my Git identities
#5 Host customer-github
Hostname github.com
IdentityFile ~/.ssh/customer_rsa
User git
All I have to do is use the alias in any git clone command and I'm done.Re: How I configure my Git identities
#6you don't have to mess with ~/.ssh/config Just put this in your ~/.gitconfig (or ~/.config/git/personal as in the article) [core] sshCommand = /usr/bin/ssh -o IdentitiesOnly=yes -i ~/.ssh/IdentityFile2 -a This makes submodules easy without the `insteadOf`
Re: How I configure my Git identities
#7I really liked the website, the layout, typography, icons etc. Really well done!
Re: How I configure my Git identities
#8Re: How I configure my Git identities
#9Re: How I configure my Git identities
#10you don't have to mess with ~/.ssh/config Just put this in your ~/.gitconfig (or ~/.config/git/personal as in the article) [core] sshCommand = /usr/bin/ssh -o IdentitiesOnly=yes -i ~/.ssh/IdentityFile2 -a This makes submodules easy without the `insteadOf`
And if you have more than one SSH identity?