7 ms·
you 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/b
by est 2y ago
you 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`
- airtonix 2y ago[dead]
- duskwuff 2y agoAnd if you have more than one SSH identity?
- dgfitz 2y agoSounds like a different problem.
- hinkley 2y agoYou're missing the fact that if you are going to use git and also ssh into places, you should learn to use the ssh config file. Yes, there are other ways to do it. Just as there are other ways to enter a building besides just opening the door. It's the one tool that works consistently across multiple projects.
- est 2y agoYou can also put that in your includeIf confs. I updated the parent comment