Skip to content

Error 3: config value 'user.name' was not found in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_commit#L103 #280

@Haha64142

Description

@Haha64142

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
Image



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:

  1. Create a new project
  2. Install Godot Git plugin
  3. Project -> Version Control -> Create/Override Version Control Metadata
  4. Click 'OK'
  5. Project -> Version Control -> Version Control Settings
  6. Click 'Connect to VCS'
  7. Enter your username and your github PAT for the password
  8. Go to the 'Commit' tab and stage all the changes
  9. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions