0

So for some reason my remote repository password has changed.
Now every time I try to perform any action via my computer (push, pull ect) I'm just getting 403 error.

Does anyone know how I can reset the password that git (I assume) has saved somewhere?

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250

2 Answers2

1

It depends on your OS and the version of Git you are using.

For Mac, you might have been using the OSX Keychain.
In that case, use git credential-osxkeychain erase in order to reset.

On Windows, try git config credential.helper store.
See also "remove credentials from git"

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • thanks for the suggestion, it seems none of those methods suggested worked to removed the credentials for me. I'm using Git-hub for Windows. Here is the exact error I'm encountering `fatal: unable to access 'https://www.example.com/': The requested URL returned error: 403` That's not my actual site name up there i just changed it because it was too long. – Cody Middleton Mar 31 '15 at 08:27
1

Fixed, had to delete git from appdata to get it to re-ask the password.