Hi there, an alternative approach in cases when you have multiple different users and multiple repos, ssh config file (~/.ssh/config) can be also very handy.
e.g.
Host github-1
HostName github.com
User git
IdentityFile <key_path_1>
Host github-2
HostName github.com
User git
IdentityFile <key_path_1>
and then
git clone git@github-1:hutger/my-repo.git
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi there, an alternative approach in cases when you have multiple different users and multiple repos, ssh config file (~/.ssh/config) can be also very handy.
e.g.
and then