Answer the question
In order to leave comments, you need to log in
How to change git authentication from a password to a token if the password is not requested?
Hello.
When trying to pull fresh changes from GitHub, I came across an error
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-authenticatio... for more information.
Answer the question
In order to leave comments, you need to log in
Why doesn't it ask for a password? Because it's already saved in the password vault.
What should I do to ask for the password again? You need to delete the old password of course!
Passwords are stored differently in different operating systems, and therefore you were first asked to show the config git config -l
in order to clarify the cleaning method.
But you can try the universal method for resetting authorization:
echo "url=https://github.com" | git credential reject
git push
, then a window for choosing the authorization method will pop up.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question