Someone I know is trying to clone my github rehearsal and make changes directly to it. This is a public repo. He cloned it with my read and write link, and he can pull it out of the repo. The problem is that he is trying to push everything that gets an error.
ERROR: permission to user1 / repo.git denied to user2
Where is he user2 and I user1. I allowed other people to use different repositories before, and I never had this problem. Am I missing something to allow him to access or modify github? I saw this on the help page for github:
This error occurs when you add your key as a deployment key on repo1. You can click and pull from this repo without any problems, but you will not have access to any other repo with your key. To solve this problem, remove the key from repo1s to deploy the keys and attach them to your account page. Now this key will have access to all repositories that your account has access to.
We have not ruined the deployment keys, but I cannot find any other solution on the Internet.
source share