Git-fatal: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead

When you push source code to github, popup the

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/checkpointer2015/Tesla.git/'

press command with space
type the Keychain open the function.
search github and remove all item.

https://docs.github.com/cn/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token

Go to Personal access tokens web and apply token.

click github account / settings / Developer settings / Personal access tokens

select scopes : all

The tokens ghpxxxxxx this sentence Please keep in mind, this page wont show second times.

password please paste the tokens (ghpxxxxxx)

Now you can push source code!

--

--

Jameskrauser Lee

For the last few years. i was involved mostly in the development of Automatic Fare collection system for the Chennai Metro. Familiar with C++ and iOS.