Lajos Arpad Lajos Arpad - 3 months ago 15
Git Question

How can I grant access to a remote git repo?

There is a project where I have access to a remote git repo where I have been deploying my changes for years, but the address is my sole information. Now, a new guy should be able to access it, but I do not know how should I grant him access. Google search yielded some results in GitHub, but this is command-line and the guy who granted me access a long while ago is no longer in the team. Is there a way to grant access to the new guy to the repo I am using?

Answer

I have found out the answer in the meantime:

1. ssh <path or alias>
2. vim ~/.ssh/authorized_keys
3. Add the public ssh key.