I am unable to authenticate with GitHub using Git. The following error appears:
remote: remote: No anonymous write access.
fatal: Authentication failed for ...
I had the same issue, from within Visual Studio Code.
Git pushing directly from the terminal worked, but the exact same command from the terminal within Visual Studio Code failed because of missing remote anonymous write access.
As it turned out, this was a problem with Visual Studio Code 1.62.2 for Linux. Downgrading via sudo apt install code=1.62.1-1636111026 solved the issue for the moment. You can grab the right version number with sudo apt-cache policy code.
Operating System: Elementary OS 5.1.7 (Hera)
Kernel: Linux 5.4.0-90-generic
Architecture: x86-64
The new Visual Studio Code version 1.62.3-1637137107 resolved the issue for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With