git config core.sshCommand “ssh -i ~/.ssh/some_key -F /dev/null”
or
ssh-agent bash -c ‘ssh-add ~/.ssh/some_key; git pull git@some.server:some/repo.git’
and
git config user.name “UserName”
git config user.email “userNameEmail@someWhereIn.net”
~/.ssh/config
Host github.public
HostName github.com
IdentityFile ~/.ssh/id_ed25519
Host github.personal
HostName github.personal
IdentityFile ~/.ssh/other_ed25519
git remote add some git@github.public:UserName/some.git
git pull
or
git remote add other git@github.personal:borowicz/other.git
or just udpate .git/config
[remote “other”]
url = git@github.personal:borowicz/other.git
fetch = +refs/heads/*:refs/remotes/other/*