I got this error when I try to push my code to github.
I tried to update the config file and it is not working in my case.
I got this error when I try to push my code to github.
I tried to update the config file and it is not working in my case.
Follow the following steps to fix this issue.
git remote set-url origin https://username:token@github.com/username/repository.git
NOTE: Replace
username
with your GitHub usernametoken
with your generated token in step 1repository
with your GitHub repository name