Error 3: config value 'user.name' was not found in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_commit#L103
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Comienza en godot-git-plugin/src/git_plugin.cpp, especialmente en GitPlugin::_commit alrededor de la línea 103, y reproduce los pasos indicados de Godot 4.4.1/plugin 3.1.1 en Windows sin Git instalado. Compara la búsqueda fallida de la firma predeterminada con la configuración funcional del portátil; se considera terminado cuando un proyecto nuevo puede hacer commit sin editar .git/config manualmente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C++
- Estrellas
- 966
- Forks
- 100
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de godotengine/godot-git-plugin
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 47/100
godotengine/godot-git-plugin#338 ·
-
Error when switching branchAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
godotengine/godot-git-plugin#337 · 2 comentarios ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 66/100
godotengine/godot-git-plugin#335 ·
-
bug confirmed
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
godotengine/godot-git-plugin#334 · 3 comentarios ·
-
Edit commit messageAbiertoenhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
godotengine/godot-git-plugin#332 ·
Todos los issues de godotengine/godot-git-plugin
Issues similares
-
agent:Windows bug in progress pri:medium sev:low testing windows
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
protocolbuffers/protobuf#31768 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
godotengine/godot#125651 ·
Los mantenedores suelen responder en 1 día
-
Android: with view recycling on, a recycled View keeps its nextFocusLeftPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoNeeds: Triage :mag: Platform: Android
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
react/react-native#60167 ·
Los mantenedores suelen responder en 2 días
-
Level format documentationAbiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100