I creaed a GitHub personal access token for use with the Git CLI. Generating and setting it up worked great, but I gave the token the wrong permissions. Now I can't change the access token on the client. Whenever I try to do something, it just says:
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The repository does exist and the upstream is set correctly. I have cleared all of the Git configurations like user.name
and user.email
. I have revoked the access token on GitHub. What else is there for me to do?! How would I do something like change accounts?