How to remove the user git
When I used gitit, I had a github account that I introduced to the git design, and then I haven't used it for a long time, and now I've decided to use it again, but I've added a new user, but when I want to make a comet, I'm told that access is denied and I see in the old user's logs how to fix it?
I do this:
MacBook-Pro-admin:backup user$ git push -u origin master
In response, I get:
remote: Permission to repo_name/index.git denied to user_old.
fatal: unable to access 'github.com***/index.git/': The requested URL returned error: 403
To the team.
git config remote.origin.url
Is that right, that's the address of the repository.
See if your SSH-clop is added to GitHub. It is used to copy for push but not required for pull.
Copy in the buffer buffer on a local car (G X version)
pbcopy < ~/.ssh/id_rsa.pub
On GitHub, go into your user's designs and add the key. Details of git and SSH: