0

TLDR: A noob can't push to a Git repository

After cloning a Gatsby theme, I found that I am unable to push to any of my GitHub repositories. I have been using a personal access token which is very tedious on every push. I checked my login credentials and remote origin and both check out, but I still keep getting:

remote: No anonymous write access.
fatal: Authentication failed for ....

I do see a message that password authentication was removed, but it is well passed August 2021, and I only recently started having this error in November after cloning that repository. Is caching the token the easiest way to get back to being able to Git push without having to copy paste the token? Or is it possible that cloning that Gatsby repository broke my Git somehow?

Peter Mortensen
  • 30,030
  • 21
  • 100
  • 124
  • Thank you thank you. Temporarily been using ``git config --global credential.helper cache`` and pushing commits in the regular linux shell. This also lets me push commits normally in vscode's terminal – Ian Matsumoto Nov 17 '21 at 16:28

0 Answers0