Alex Nikolsky
Alex Nikolsky

Reputation: 2169

ERROR: Permission to denied to

When I try to push my repository to Github I'm getting the following

enter image description here

The thing is that I have two accounts on Github and I am using SSH key for the second one. I intended to use first account for some test repositories or my experimental ideas. And now I can't push there my project.

Upvotes: 1

Views: 609

Answers (1)

Jakuje
Jakuje

Reputation: 25926

You can simply add the same public key to both of the github accounts to get rid of this problem.

Upvotes: 1

Related Questions