Today is August 14, 2021.
I was working on a very important long-term project and I used the command
git add . to add my commits. But when I enter the command
git push it gives me the following 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-authentication-requirements-for-git-operations/ for more information. fatal: unable to access 'https://github.com/jeet-khondker/repository-name.git/': The requested URL returned error: 403
Basically I am using VSCode to execute my Git operations.
So when I look over to the blog mentioned in the error message, I found that I need to use token authentication for Git operations instead of password authentication.
I am kind of afraid how to overcome this issue as because this is a very important project I am working on and I don’t want to loose any of my previous code commits.
May I have your kind support of how to overcome this issue and switch from password authentication to token authentication without disrupting my codebase?