Cannot commit changes when `user.name` and/or `user.email` are not set in Git configuration
まだ誰も着手していません。
評価
調査の方向性
godot-git-plugin/src/git_plugin.cpp の _commit(103 行目付近)から始め、デフォルトの署名が Ubuntu 上で user.name を読み取る仕組みを追跡してください。Godot 4.2.2.stable.mono と報告された設定で commit の試行を再現し、設定された identity が利用可能な場合に commit が成功することを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Hi all! I just installed this plugin to a project that is already using Git Plugin and is configured to push/pull with GitHub. I started this project in another machine (Windows 10) and was able to commit/push/pull with no worries i managed to clone and open the project no prob, but when i tried to commit changes he following error showed up:
core/variant/variant_utility.cpp:1091 - GitPlugin: Could not get default signature. Error -3: config value 'user.name' was not found in godot-git-plugin/src/git_plugin.cpp:_commit#L103
I configured username and pat in their respective fields in Version Control Settings, just like in the other machine. Even configured git config --global, to no avail. The remote is the https link with .git in the end (green button on repo)
I'm using Ubuntu 22.04.4 LTS with Godot 4.2.2.stable.mono
If i can provide any info that might help please ask o/
- 主要言語
- C++
- スター
- 966
- フォーク
- 100
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
godotengine/godot-git-plugin のほかの issue
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 47/100
godotengine/godot-git-plugin#338 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
godotengine/godot-git-plugin#337 · コメント 2 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
godotengine/godot-git-plugin#335 ·
-
bug confirmed
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
godotengine/godot-git-plugin#334 · コメント 3 件 ·
-
Edit commit messageオープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
godotengine/godot-git-plugin#332 ·
godotengine/godot-git-plugin の issue をすべて見る
似ている issue
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
microsoft/DirectXShaderCompiler#9155 ·
メンテナーはふだん 2 日以内に返信
-
Errors in 1.20 proseオープンCampaign DiD Campaign EI Campaign HttT Campaign TDG Campaign TSG Campaign WoF Enhancement Help Prose Stable 1.20
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
wesnoth/wesnoth#11749 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
trabucayre/openFPGALoader#767 ·
メンテナーはふだん 1 日以内に返信
-
agent:Windows bug in progress pri:medium sev:low testing windows
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
protocolbuffers/protobuf#31768 ·
メンテナーはふだん 1 日以内に返信