Host github_repo1.github.com
User git
Hostname github.com
PreferredAuthentications publickey
IdentityFile C:\Users\User1\.ssh\id_rsa_github_repo1
git@github_repo1.github.com:oneras-backend/nestjs-mongodb-demo.git
$ git clone git@github_repo1.github.com:oneras-backend/nestjs-mongodb-demo.git
This command will be converted to
$ git clone git@github.com:oneras-backend/nestjs-mongodb-demo.git
Notice the "$ git clone git@github_repo1.github.com
:oneras-backend/nestjs-mongodb-demo.git" and "Host github_repo1.github.com
"