1

I just try to push a repo to github , but I get this dialog

PS : 4495b is the old account I can't find a way to change it.

I tried

git config --global --unset credential.helper
  • Reinstall git and reconfigure it
  • Reinstall VScode

Any ideas how to refresh the given account?

151 Yek
  • 85
  • 1
  • 6

1 Answers1

0

If you confirm that git config credential.helper is not set, check first the remote URL with

cd /path/to/repo
git remote -v

If it is an SSH URL, make sure its associated ~/.ssh/id_rsa(.pub) are not the private/public key of your old account.
Or that ~/.ssh/config does not reference the SSH private key of your old account.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250