我正在尝试使用应用程序默认凭据(即位于的文件)克隆托管在 Google Source Repository 上的存储库~/.config/gcloud/ application_default_credentials.json
。
不幸的是,这似乎不起作用:
#11 1.030 ERROR: (gcloud.source.repos.clone) You do not currently have an active account selected.
#11 1.030 Please run:
#11 1.030
#11 1.030 $ gcloud auth login
#11 1.030
#11 1.030 to obtain new credentials, or if you have already logged in with a
#11 1.030 different account:
#11 1.030
#11 1.030 $ gcloud config set account ACCOUNT
这可能吗?