I’ve read so many SE Questions but nothing.
In MacOS Terminal:
user@mac repo-name % git pull
Already up to date.
VS Code:
node ➜ /workspaces/repo-name (main) $ git pull
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I tried several solutions like:
- Does nothing:
git remote set-url origin [email protected]:username/repo-name.git
- Does nothing: Delete Github
Keychain from Macos Keychines - Does Nothing: A solution which prints
the executablewhich git
and then put that path into vs code
settings
In the Gui of Git Tower everything works nicely as well
What else to try?
2