Home > Enterprise >  No Password Prompt After Generating new Personal Access Token
No Password Prompt After Generating new Personal Access Token

Time:05-16

My github token expired recently, which I had to generate a fresh one. I however haven't been able to push to the remote git server since then. I get the error:

fatal: unable to access 'https://github.com/xx/yy/': 
The requested URL returned error: 403

I also don't get a prompt to sign in. I can pull from a repo but I cannot push. How can I make my cli prompt me to input my github password/ access token? I'm using a macbook m1-pro

CodePudding user response:

You can manually remove the old password using Keychain Access app. Rightclick on entry and choose "delete github.com". Then cli will ask you to re-enter credentials.

Keychain access screenshot

  • Related