Error 3: config value 'user.name' was not found in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_commit#L103
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Inizia da godot-git-plugin/src/git_plugin.cpp, in particolare da GitPlugin::_commit intorno alla riga 103, e riproduci i passaggi elencati di Godot 4.4.1/plugin 3.1.1 su Windows senza Git installato. Confronta la ricerca della firma predefinita che fallisce con la configurazione funzionante del laptop; il lavoro è completato quando un nuovo progetto può eseguire il commit senza modificare manualmente .git/config.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C++
- Stelle
- 966
- Fork
- 100
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di godotengine/godot-git-plugin
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 47/100
godotengine/godot-git-plugin#338 ·
-
Error when switching branchApertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
godotengine/godot-git-plugin#337 · 2 commenti ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 66/100
godotengine/godot-git-plugin#335 ·
-
bug confirmed
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
godotengine/godot-git-plugin#334 · 3 commenti ·
-
Edit commit messageApertaenhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
godotengine/godot-git-plugin#332 ·
Tutte le issue di godotengine/godot-git-plugin
Issue simili
-
agent:Windows bug in progress pri:medium sev:low testing windows
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
protocolbuffers/protobuf#31768 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
godotengine/godot#125651 ·
I maintainer di solito rispondono entro 1 giorno
-
Android: with view recycling on, a recycled View keeps its nextFocusLeftForse già presa Una pull request collegata a questa issue è aperta o già unita. ApertaNeeds: Triage :mag: Platform: Android
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
react/react-native#60167 ·
I maintainer di solito rispondono entro 2 giorni
-
Level format documentationApertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100