-
-
Notifications
You must be signed in to change notification settings - Fork 86
Description
Godot v4.4.1
I had entered my username and github PAT into the version control settings and connected to VCS. When I went to commit some changes, I was met with the error:
ERROR: core/variant/variant_utility.cpp:1098 - GitPlugin: Could not get default signature. Error -3: config value 'user.name' was not found in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_commit#L103
I tried restarting godot. I also went to file explorer and checked that I had a .git file, so that means the repository was created.
I eventually managed to fix this. I went to the .git/config file and opened it in VS Code. After that, I Added the circled part to the config file, and it started working. I was able to commit and push to the repo
Edit 5/20/25
I was able to recreate the issue on my computer.
Equipment:
- Windows 10
- Godot v4.4.1
- Godot Git plugin v3.1.1
Steps:
- Create a new project
- Install Godot Git plugin
- Project -> Version Control -> Create/Override Version Control Metadata
- Click 'OK'
- Project -> Version Control -> Version Control Settings
- Click 'Connect to VCS'
- Enter your username and your github PAT for the password
- Go to the 'Commit' tab and stage all the changes
- Enter a Commit Message and click 'Commit Changes'
You should have the error message.
Video of me replicating the error
However, I tried this on a separate laptop and it wouldn't repeat. I don't have git installed on my pc, but I do have git installed on my laptop, so that might me why it works on my laptop, but not my pc.