I use WSL
with Ubuntu 20.04.6
and I use VSCode 1.91.1
. I’m trying to authenticate with git push
within my built-in VSCode terminal. Each time I try to do this, I am instantly hit with:
remote: Invalid username or password.
fatal: Authentication failed for 'MY REPO'
but, outside of VSCode, within a regular WSL terminal, I am able to enter my username and token like normal.
I know that I need a personal access token. I have this. I am able to enter my username and token when I am outside of my VSCode instance.
My ~/.gitconfig
file is empty, and my ~/.ssh/config
file is empty. I just restarted my computer and the problem persists. This feels like there is some VSCode config file causing a problem that I am overlooking.
Any thoughts why the built-in VSCode terminal instantly fails authentication whereas a normal terminal outside of VSCode allows me to authenticate upon git push
like normal?
wormram is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.