- Have you ever encountered this error while pushing to remote github" remote: Permission to git.username/*******.git denied to "another username". fatal: unable to access 'github.URL': The requested URL returned error: 403 "
- like when you are trying to push to another github which is not assigned to your local computer.
Here's the solution(for windows):
- First of all you have to go to your control panel > user accounts > Credential Manager > windows credentials.
- Then check the saved git credentential and remove them.
- After that go ahead and create new credentials as usual.
- git config --global user.name "Your Username"
- git config --global user.email "Your email"
Once you're done you can go ahead and push your work.
Top comments (0)