News for hackers. Stuff that matters.
Re:Sign arbitrary data with your SSH keys by drothlis on Sunday November 14, 2021 @07:23AM (#29216804)
Another way is to set $GIT_SSH_COMMAND when cloning:

  GIT_SSH_COMMAND="ssh -i ~/.ssh/id_ed25519_company_a -o IdentitiesOnly=yes" git clone ...
and then set it in your checkout's .git/config for subsequent fetches & pushes:

  git config core.sshCommand "ssh -i ~/.ssh/id_ed25519_company_a -o IdentitiesOnly=yes"

There are no comments on this comment yet.