godotengine / godotengine/godot-git-plugin

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

Open
#299 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
954
Forks
98
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/godotengine/godot-docs-user-notes/discussions/162#discussioncomment-13929147) 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.