


("destructive command" in that it will remote the entry and its associated value, the password) If it is manager or manager-core, remove the old password with a git credential-manager-core erase If you are using HTTPS URLs for your remote repositories, that means you can cache your credentials: today, that would be your GitHub user account name and password, tomorrow, the password will be your token.Ĭheck your git config credential.helper result. origin (fetch)Īlso after setting git remote set-url origin git remote -v should be something like: origin (fetch)

You can type git remote -v to see your origin or upstream. When generating a personal access token, make sure to enable workflow: In the Visual Studio Code terminal, git remote set-url origin Now you can try git push.Open your project with Visual Studio Code or navigate to your project in the terminal, cd ~/path/to/your/project.Make sure to save your access token (e.g., ghp_pVC*****).Generate a personal access token from.
