Git Cafe clone error should explain how to set up HTTPS authentication
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 74/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- git, typescript
调研方向
从链接行的 apps/server/src/sourceControl/SourceControlRepositoryService.ts 中 clone 实现开始,然后追踪 Git 错误如何呈现给用户。在禁用 prompt 的情况下重现 HTTPS clone 失败,并确认错误说明了 Cafe credential helper 的设置方法。完成标准是:指南能让用户配置 HTTPS 身份验证并成功重试 clone。
由索引模型根据 Issue 内容生成。
描述
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
- Sign into the Cafe CLI on a machine without a Git credential helper configured for
git.cafe. - Clone a private Git Cafe repository over HTTPS in T3 Code Desktop.
- 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.
- 主要语言
- TypeScript
- 星标
- 24.8k
- 派生
- 6.4k
- 平均合并
- 59 分钟
- 30 天内合并 PR
- 613
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pingdotgg/t3code 的其他 Issue
-
via-triage
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
via-triage
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
相似的 Issue
-
agentic-workflows
难度 1/5 1 小时以内 新手友好度 75/100
opencollective/opencollective-frontend#12789 ·
维护者通常 1 天内回复
-
Web download page shows a file as Completed when its download from S3 fails with an error response未关闭bug
难度 2/5 1-3 小时 新手友好度 77/100
awslabs/visual-asset-management-system#2097 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
openwatersio/slackwater#591 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
compiler-explorer/compiler-explorer#9738 ·
维护者通常 2 天内回复