The first time I pulled a repo from github I used the following command
git pull https://<username>:<password>@github.com/<repo>
Then I would just type git pull
and the repo updates automatically
In the last few days, I have been getting messages regarding removing the ability to use passwords to push or pull repos, and instead to generate a personal token
Now although I connected successfully using the new personal token, the old password I used for git pull
is still cached and gives me the error authentication failed
How can I reset the cached git pull
password?
On mac, the push command was reset successfully with git config --global push.default simple
but on ubuntu the pull command is refusing to reset and is always cached to the old authentication unless I specifically put in the new username and password