3

I am new to using github, and the professor of a class that I am in is storing the source code and assignment information in a repository that I need to clone with the following command git clone https://github etc. etc.

I incorrectly entered my username and password for Github the first time I was prompted, and now I'm stuck with failed authentications like remote: Invalid username or password fatal: Authentication failed because it won't reprompt me. Any insight into this issue? Some things online made it seem that it could be fixed by fiddling with a thing called credential.helper, but didn't make it clear how that would help.

kepleroni
  • 33
  • 2

1 Answers1

2

If you are on Windows, see "How do I sign out in the Git Bash console in Windows?"

git credential-manager reject https://github.com

If you are on mac, see "Updating credentials from the OSX Keychain"

See also this answer, but replacing "erase" with "delete".

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