Permission denied/unable to access after new token #23475
-
My personal access token expired yesterday and I created a new one and revoked/deleted the old/expired ones. Now if I try to commit-push the repo, I get the following error message:
What to do? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
The answer will depend on what platform you’re using… This page covers two platforms, but the answer may differ if you’re using something else:
How to reset credentials entered for Git Authentication in the local machine?...Windows: Press Window button and search for Credential Manager and open it. You’ll see two tabs – Web credentials and Window Credential, select Window Credentials. Under generic credentials section, identify your git credentials, it will be in format... Est. reading time: 1 minute |
Beta Was this translation helpful? Give feedback.
-
I was using Ubuntu 20.4 LTS OS. |
Beta Was this translation helpful? Give feedback.
-
Peculiar, if you just install the First places to check:
|
Beta Was this translation helpful? Give feedback.
-
I am using pycharm IDE. Not sure of any credential cache activation or so I performed. I started having issue after expiration and regenerating personal access token. (and maybe deleting/revoking old ones) |
Beta Was this translation helpful? Give feedback.
-
The files I mentioned are configuration files to look at, not commands to run. 😉 It’s concerning that they appear to be set as executable, though. I’m not familiar with Pycharm, so I can’t comment on whether it might cache anything. |
Beta Was this translation helpful? Give feedback.
-
Hello, When generating a new token, I didn’t select the Thanks all for helping! |
Beta Was this translation helpful? Give feedback.
-
Way to self-solve @ranabanik 🎉 I’ve gone ahead and marked the solution for anyone else in a similar situation who encounters this post 🌠 @jsoref and @airtower-luna thanks for jumping in! We appreciate you ❤️ |
Beta Was this translation helpful? Give feedback.
Hello,
I found my mistake:
When generating a new token, I didn’t select the
repo
option. It slipped past me somehow.Thanks all for helping!