Remix.run Logo
est a year 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`
duskwuff a year ago | parent | next [-]

And if you have more than one SSH identity?

est a year ago | parent | next [-]

You can also put that in your includeIf confs. I updated the parent comment

dgfitz a year ago | parent | prev [-]

Sounds like a different problem.

hinkley a year ago | parent [-]

You'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.

dgfitz a year ago | parent [-]

Wait, ssh has a config file?! And I should learn about it!?

lol, you’re an ass

hinkley a year ago | parent [-]

I’ve spent too much of my career picking up after people like you.

dgfitz a year ago | parent [-]

You haven’t. That’s cool though, I can understand your frustration.

airtonix a year ago | parent | prev [-]

[dead]