I have the latest git version (2.32) and I need to use my new personal access token git push my current repo to github. The problem is when I try and do a git push I get the prompt:
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/username/project.git/': The requested URL returned error: 403
I also tried cloning the repo and got the same error. Since I'm assuming this issue has to do with git using my old password to try and login to github I tried to reset any saved credentials using the prompt
git config --system --unset credential.helper
Even after doing this I still just get the same error prompt as above. How do I get git to prompt me for user and password so I can enter in my new personal access token?
Edit:
I now also tried going to windows credentials through control panel but there is no 'github.com' stored credentials and if I try and add those windows just states it cannot save credentials. Is there really no way to just log on and pull from github from the git cmd?