From August 13, 2021, GitHub is no longer accepting account passwords when authenticating Git operations. Instead of password we need to add a PAT (Personal Access Token) and we can follow the below steps to add PAT.
Create Personal Access Token on GitHub
From your GitHub account,
- go to Settings =>
- Developer Settings =>
- Personal Access Token =>
- Generate New Token (Give your password) =>
- Fill-up the form => click Generate token => Copy the generated Token
Now follow below steps based on your machine:
For Windows OS if password already saved
Go to Credential Manager from Control Panel =>
-
- Windows Credentials =>
- find git:https://github.com =>
- Edit =>
- On Password replace with with your GitHub Personal Access Token =>
- You are Done
For first time we need put PAT in the password field instead of plain text password.
Posted On:
24-Mar-2022 21:19