Failed to push. Error -1: invalid refspec
Hi,
I am getting the following error:
core/variant/variant_utility.cpp:1092 - GitPlugin: Failed to push. Error -1: invalid refspec refs/heads/ in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push#L543
OS: Windows 10 - all updates / 64-bit
I am using Username and PAT (tried classic and new one)
I am getting this error if I am trying to push, same for force push.
Soes anyone have a idea?
Thanks in advance!
I'm also having this issue
core/variant/variant_utility.cpp:1092 - GitPlugin: Failed to push. Error -1: invalid refspec refs/heads/ in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push#L543 GitPlugin: Performing push to origin
What I did:
- Created new project with git enabled
- Download and install godot-git-plugin
- Go to Version Control Settings
- Set PAT token from Github in Password
- Set remote to my Github repo
- Stage, Commit, Push
- ...
- Fail :(
I tried PAT only on password, PAT and username, I tried with Bitbucket account as well and no luck
Edit: Using Windows 11 and git version 2.47.1.windows.1
Did you find a solution?