Can't perform a push, pull or fetch, regardless of branch and remote.

Đang mở
#299 10 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
git
Lĩnh vực
devtools

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện push, pull và fetch với các remote được báo cáo trên Windows 11 bằng Godot 4.4 và plugin 3.2.0. Kiểm tra các lỗi kết nối trong src/git_plugin.cpp tại GitPlugin::_push#L533 và GitPlugin::_fetch#L411, tập trung vào các lỗi chứng chỉ và khóa máy chủ SSH. Công việc được xem là hoàn tất khi các thao tác với remote bị ảnh hưởng hoạt động hoặc lỗi đã được thu hẹp rõ ràng vào việc xử lý thông tin xác thực, chứng chỉ hoặc khóa máy chủ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

I'm very new to Git and GitHub, and I don't know where else to find help besides bothering the dev via their socials, I prefer not doing that.

I can see, create and remove all the branches and remotes from within the Godot editor, but I cannot perform a push, pull or fetch.

If I try to perform any of those commands on origin I get:
ERROR: core/variant/variant_utility.cpp:1098 - GitPlugin: Could not connect to remote "origin". Are your credentials correct? Try using a PAT token (in case you are using Github) as your password. Error -17: the SSL certificate is invalid in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_push#L533
If I try to do it on another remote I get:
ERROR: core/variant/variant_utility.cpp:1098 - GitPlugin: Could not connect to remote "prueba1". Are your credentials correct? Try using a PAT token (in case you are using Github) as your password. Error -17: invalid or unknown remote ssh hostkey in godot-git-plugin\src\git_plugin.cpp:GitPlugin::_fetch#L411

I did all the steps required to connect my Godot project to my repo. I made a PAT and put it on the password field.
The PAT has the following permissions as suggested by this comment on the godot engine tutorial docs regarding VCS:

  • Repository permissions (Read/Write): Actions, Adminstration, Codespaces, Contents, Issues, Merge, Pull requests
  • Account permissions (Read): Git SSH keys, SSH signing keys.

Perhaps the SSH key is not effective since I added it to my account as an Authentication Key rather than a Signing Key, and maybe it lacks permissions too. But then again I am very new to this, so I could be missing some fundamentals.

If it is important to mention: my OS is Windows 11 Pro, I am on Godot v4.4.stable.official [4c311cbee] and using version 3.2.0 of the plugin.

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của godotengine/godot-git-plugin

Tất cả issue của godotengine/godot-git-plugin

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.