godotengine / godotengine/godot-git-plugin

Error on initial pull.

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

Description

```
ERROR: core/variant/variant_utility.cpp:1098 - GitPlugin: Could not fetch data from remote. Error -1: 'refs/heads/' is not a valid refspec. in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_pull#L447`
```

I am hosting my own forgejo server and from cmd I can pull, push and fetch. I also tested my api key for the password and it works.
I did find a post that said to test using an SSL site and I did and nothing I could see would say it does not have proper ssl, the fails were very old chrome and safari versions.
If needed I can upload this.

The error only happens when I am pulling. Fetching seems fine?
```
GitPlugin: Performing fetch from main
GitPlugin: Fetch ended
```

remote name was just `main`
the url was `https://forgejo.example.com`

I am suspecting more info is needed, just let me know what is needed and I will do my best to provide it.

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.