E
E
elpuffru2016-12-25 23:08:05
git
elpuffru, 2016-12-25 23:08:05

How to fix 403 git error?

bce4e1bc9f774415b2fceac8bb0860f5.JPGWhen git push gets an error:
remote: Permission to someSite.git denied to Barzini.
fatal: unable to access ' https://github.com/somesute.git/ ': The requested URL returned error: 403

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
elpuffru, 2016-12-26
@elpuffru

Solved the problem by deleting the old account from GitHub.

V
voodoorg, 2017-12-03
@voodoorg

There was the same problem in Windows - I changed my account on the github, but when pushing, the git stubbornly tried to log in using the old login. Cured like this:
For more details on the credential manager settings, see here .

O
Oleg, 2016-12-25
@ptrvch

403 is an access error. Check under what username and mail you are trying to push, and if this user has permission on github

A
aol-nnov, 2016-12-26
@aol-nnov

  • git remote rm origin
  • git remote add origin [email protected]:user/repo.git (на самом деле, смотри ссылку из следующего пункта)
  • для каждого экаунта свой ключ ssh (https://gist.github.com/jexchan/2351996)
  • ...
  • ПРОФИТ!!1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question