代码之家  ›  专栏  ›  技术社区  ›  John Balvin Arias

如何用sdk正确认证Google云源库

  •  0
  • John Balvin Arias  · 技术社区  · 6 年前

    我已经按照 Google Cloud Source Repositories source.cloud.google.com

    1. https://source.developers.google.com.helper gcloud.cmd命令
    2. git远程添加google https://source.developers.google.com/p/[Project-id]/path
    3. git推送--全是google

    身份验证凭据无效

    遵循这些步骤而不能完成任务是令人沮丧的

    enter image description here

    2 回复  |  直到 6 年前
        1
  •  1
  •   Alioua    6 年前

    我确实遵循了这些步骤 adding repositories ,而且效果很好。

    在某些情况下,您可能无法访问云SDK。例如,您可能在无法访问这些工具的生成服务器上工作。在这些情况下,您可以手动生成静态凭据。

    repository page

    找到存储库并单击“克隆”。

    将首选身份验证方法更改为手动生成的凭据。

    按照说明使用生成的凭据。

        2
  •  2
  •   Ashish Kumar    6 年前


    enter image description here

    您将获得新生成的身份验证凭据。你需要 copy 那和 paste cmd . 到时候会很好用的。

    推荐文章