Home > database >  is it possible to auto renew the github token
is it possible to auto renew the github token

Time:03-11

Today when I push the repo to github, shows error like this:

➜  reddwarf-translate-plugin git:(main) git push
Username for 'https://github.com': linus
Password for 'https://[email protected]':
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/jiangxiaoqiang/reddwarf-translate-plugin.git/'

I know the token may expired and I have to replace a new token, I was wonder is it possible to let the git auto renew the github token so that I did not need to care about the token expire or not anymore?

CodePudding user response:

enter image description here

  • Related