Git Cafe clone error should explain how to set up HTTPS authentication

Đang mở Phù hợp với người mới
#45,198 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
74/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
git, typescript
Lĩnh vực
desktop, devtools

Hướng nghiên cứu

Bắt đầu từ phần triển khai clone trong apps/server/src/sourceControl/SourceControlRepositoryService.ts tại dòng được liên kết, sau đó theo dõi cách các lỗi Git được hiển thị cho người dùng. Tái hiện lỗi clone HTTPS khi đã tắt prompt và xác nhận rằng thông báo lỗi giải thích cách thiết lập trình trợ giúp thông tin xác thực Cafe. Hoàn thành khi hướng dẫn giúp người dùng cấu hình xác thực HTTPS và thử clone lại thành công.

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

Mô tả

via-triage

What happened
I tried to clone a private Git Cafe repo in T3 Code Desktop. The clone kept failing after I signed in with the Cafe CLI.

Diagnosis
The Cafe CLI could access the repository. Git needed a separate credential helper to use that login over HTTPS. T3 disables terminal prompts for background clones, so Git failed when it tried to ask for a username. The error should tell users how to configure the helper and then retry. Clone implementation

Steps to reproduce

  1. Sign into the Cafe CLI on a machine without a Git credential helper configured for git.cafe.
  2. Clone a private Git Cafe repository over HTTPS in T3 Code Desktop.
  3. Observe the failure and click Retry.

Version and environment
T3 Code Desktop 0.1.14-nightly.20261128.5399, macOS 26.5.1 on Apple silicon, Cafe CLI 0.14.0.

Evidence
T3’s clone trace and a separate Git check with prompts disabled produced the same error.

fatal: could not read Username for 'https://git.cafe': terminal prompts disabled

Related issues
The Forgejo report has the same Git error and concerns an SSH-only setup. This report concerns HTTPS setup with an existing Cafe login. T3 issue #37428

Fix applied
Ran cafe auth http setup --git-host git.cafe. Git could then read the repository without prompting, and Retry in T3 completed the clone.

Filed by
Codex (gpt-6.2-sol) via T3 triage.

Ngôn ngữ chính
TypeScript
Star
24.8k
Fork
6.4k
Merge trung bình
59 phút
Pull request đã merge (30 ngày)
613

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 pingdotgg/t3code

Tất cả issue của pingdotgg/t3code

Issue tương tự

Thêm issue về TypeScript

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.