F
F
Faber Estello2017-11-01 12:14:34
GitHub
Faber Estello, 2017-11-01 12:14:34

The requested URL returned error: 403?

I use two accounts on github in turn.
And then it started throwing an error:

> git push -u origin master
> remote: Permission to ACC2Name/test.git denied to ACC1Name.
fatal: unable to access 'https://github.com/ACC2Name/test.git/': The requested URL returned error: 403

Login and mail of the second account, to which I am trying to upload the repository:
> git config --global user.name
> ACC2Name
> git config --global user.email
> [email protected]

> git remote -v
> origin  https://github.com/ACC2Name/test.git (fetch)
> origin  https://github.com/ACC2Name/test.git (push)

But for some reason the error is:
> remote: Permission to ACC2Name/test.git denied to ACC1Name.

Everything is as it should be, like. The SSH key was never connected, not for the first account, not for the second account. I don’t want to use it, and without it somehow I didn’t have it before. From any account it was possible to log in, work with repositories, just enter a name and password. I don't know what happened this time.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question