Why can't I push to GitHub?

Godot Version

I’m using Godot 4.4

Question

I recently started using GitHub for a version control, but after a while, I get this error:
image
Is there a way to fix this, because a few weeks ago, it worked perfectly!

You need to create and use a PAT token instead of your password. It’s for security sake.

Go to Sign in to GitHub · GitHub and “Generate new token”“Generate new token (classic)”.
Probably you will need only the repo and workflows options, but try to read all of them and understand for your use case.

Be aware to copy the token when it shows, bc you won’t be able to see it again.

If you are using the Godot VCS, just update your password there for the new token.

If you are doing it from the terminal, update the password in the git credential manager.

1 Like