Answer the question
In order to leave comments, you need to log in
How to set up a new user for a github repository?
I go from one computer to two different repositories under different users (User1 and User2). The first one works as it should, but I can’t write to the second one, it swears that there is no access for User1. But the second repository belongs to User2 and its config contains
[user]
name = User2
email = [email protected]
Answer the question
In order to leave comments, you need to log in
The second user probably just doesn't have a valid ssh key.
https://help.github.com/articles/generating-ssh-keys
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question