Cannot commit changes when `user.name` and/or `user.email` are not set in Git configuration
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 28/100
Hướng nghiên cứu
Bắt đầu với godot-git-plugin/src/git_plugin.cpp tại _commit, khoảng dòng 103, và theo dõi cách chữ ký mặc định đọc user.name trên Ubuntu. Tái hiện lần thử commit với Godot 4.2.2.stable.mono và cấu hình đã được báo cáo, sau đó xác minh rằng commit thành công khi identity đã cấu hình khả dụng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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/
- Ngôn ngữ chính
- C++
- Star
- 966
- Fork
- 100
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của godotengine/godot-git-plugin
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 47/100
godotengine/godot-git-plugin#338 ·
-
Error when switching branchĐang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
godotengine/godot-git-plugin#337 · 2 bình luận ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
godotengine/godot-git-plugin#335 ·
-
bug confirmed
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
godotengine/godot-git-plugin#334 · 3 bình luận ·
-
Edit commit messageĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
godotengine/godot-git-plugin#332 ·
Tất cả issue của godotengine/godot-git-plugin
Issue tương tự
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
microsoft/DirectXShaderCompiler#9155 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Errors in 1.20 proseĐang mởCampaign DiD Campaign EI Campaign HttT Campaign TDG Campaign TSG Campaign WoF Enhancement Help Prose Stable 1.20
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
wesnoth/wesnoth#11749 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
trabucayre/openFPGALoader#767 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent:Windows bug in progress pri:medium sev:low testing windows
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
protocolbuffers/protobuf#31768 ·
Maintainer thường phản hồi trong vòng 1 ngày