Google"Open In Cloud Shell"坏了?

Google "Open In Cloud Shell" broken?

Google 是否刚刚破坏了它自己的“在云中打开 Shell”功能?

我在尝试使用指定要从中克隆的 git 存储库的云 shell link 时遇到此错误。

fatal: could not read Username for 'https://github.com': terminal prompts disabled

我试过使用原始 Google 帐户,所以很确定这与默认 Cloud Shell VM 设置有关,而不是我在机器上做的事情。它从一个时刻到下一个时刻停止工作。

Github shutting down password authentication 支持基于令牌的身份验证。为避免混淆,Open in Cloud Shell 现在将失败,而不是提示输入 username/password。要继续将 Open in Cloud Shell 用于需要身份验证的存储库,您可以:

  1. 通过 运行 之前的 git 命令手动缓存您的 git 凭据 在云中打开 Shell。
  2. 配置 git credential storage 这样就不会提示您输入 username/password.