godotengine / godot-git-plugin

Git implementation of the VCS interface in Godot
MIT License
697 stars 73 forks source link

Failed to push. Error -1: invalid refspec #227

Closed PincoPallino-lang closed 6 months ago

PincoPallino-lang commented 6 months ago

"ERROR: GitPlugin: Failed to push. Error -1: invalid refspec refs/heads/ in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push#L542" Using PAT and https. No spaces in paths. (I don't know if it can help) OS: Windows 11. Godot version: 4.2.1.stable.official [b09f793f5] OS language: Italian. Godot language: English. Plugin version: 3.1.0 First time pushing.

PincoPallino-lang commented 6 months ago

Turned out to be a dumb directory tree issue (unzipped uncorrectly). Closing.