Remix.run Logo
est 3 months 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 3 months ago | parent | next [-]

And if you have more than one SSH identity?

est 3 months ago | parent | next [-]

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

dgfitz 3 months ago | parent | prev [-]

Sounds like a different problem.

hinkley 3 months 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 3 months ago | parent [-]

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

lol, you’re an ass

hinkley 3 months ago | parent [-]

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

dgfitz 3 months ago | parent [-]

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

airtonix 3 months ago | parent | prev [-]

[dead]