远端仓库:https://gitea.4i.hk/hhhge/SimpleFarm(public,main)。 关键坑:非交互 shell 里必须 GCM_INTERACTIVE=always,否则 GCM 会因为「用户交互被禁用」 直接拒绝,git 报 could not read Username / Failed to authenticate user,看起来像认证配错了。 另记:tea 的 OAuth token 能建仓、能调 API、能加 SSH 公钥,但不能签发访问令牌 (POST /users/{u}/tokens 需要 basic auth)。