Skip to content

Can't perform a push, pull or fetch, regardless of branch and remote. #299

@Drywtler

Description

@Drywtler

I'm very new to Git and GitHub, and I don't know where else to find help besides bothering the dev via their socials, I prefer not doing that.

I can see, create and remove all the branches and remotes from within the Godot editor, but I cannot perform a push, pull or fetch.

If I try to perform any of those commands on origin I get:
ERROR: core/variant/variant_utility.cpp:1098 - GitPlugin: Could not connect to remote "origin". Are your credentials correct? Try using a PAT token (in case you are using Github) as your password. Error -17: the SSL certificate is invalid in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push#L533
If I try to do it on another remote I get:
ERROR: core/variant/variant_utility.cpp:1098 - GitPlugin: Could not connect to remote "prueba1". Are your credentials correct? Try using a PAT token (in case you are using Github) as your password. Error -17: invalid or unknown remote ssh hostkey in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_fetch#L411

I did all the steps required to connect my Godot project to my repo. I made a PAT and put it on the password field.
The PAT has the following permissions as suggested by this comment on the godot engine tutorial docs regarding VCS:

  • Repository permissions (Read/Write): Actions, Adminstration, Codespaces, Contents, Issues, Merge, Pull requests
  • Account permissions (Read): Git SSH keys, SSH signing keys.

Perhaps the SSH key is not effective since I added it to my account as an Authentication Key rather than a Signing Key, and maybe it lacks permissions too. But then again I am very new to this, so I could be missing some fundamentals.

If it is important to mention: my OS is Windows 11 Pro, I am on Godot v4.4.stable.official [4c311cbee] and using version 3.2.0 of the plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions