การใช้ Token เพื่ออัพ Github
[Solved] Please use a personal access token instead in GitHub
Solution 1 : Generate a token
On August 13, 2021, Github announced its 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. So That First Of all, Generate a token in GitHub And Use this token in Your GitHub access in your PC
For macOs
- Go to keychain Access
- Press login tab and all items
- Click Github key
- Change the password to the recent generated token
For Windows Machine
- Go to Control Panel.
- User Accounts.
- Credential Manager
- Edit the Generic Credential of github
- Paste the token instead of the password