T
T
tamtakoe2014-03-17 23:40:13
git
tamtakoe, 2014-03-17 23:40:13

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]

How to set up to make everything work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Shikanov, 2014-03-18
@tamtakoe

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 question

Ask a Question

731 491 924 answers to any question