t3code icon indicating copy to clipboard operation
t3code copied to clipboard

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

Open saphitv opened this issue 3 days ago • 0 comments

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.

saphitv avatar Nov 28 '26 23:11 saphitv