Error on initial pull.
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.
I did a few tests on my own computer, and found out that you need to commit and push something to your repo before the pull will work
I did a few tests on my own computer, and found out that you need to commit and push something to your repo before the pull will work
My repo had things in it prior to trying the godot plugin. What versions of godot and the plugin are you using? I will see if changing to your versions would help.
I was using windows 10, godot v4.4.1, and git plugin v3.1.1