GitHub announced their intent to require the use of token-based authentication for all authenticated Git operations. They will no longer accept account passwords when authenticating Git operations on GitHub.com:
Generate token:
On Mac:
- Go to keychain Access
- Press the Login tab and all items
- Click GitHub key
- Change the password to the recent generated token
On Windows:
Go to Control Panel → User Accounts → Credential Manager
Edit the Generic Credential of GitHub
Paste the token instead of the password
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…