gpt4 book ai didi

git push cloud 显示无效的身份验证凭据错误

转载 作者:行者123 更新时间:2023-12-03 19:35:46 29 4
gpt4 key购买 nike

我想将应用程序推送到谷歌云存储库

我为 git 添加了远程存储库,如下所示:

git remote add cloud  https://source.developers.google.com/p/abc/r/xxxxx

然后我提交并执行了 git push cloud ,但发现以下错误:
fatal: remote error:


Invalid authentication credentials.

Please generate a new identifier:
https://source.developers.google.com/new-password

也点击链接并在谷歌验证甚至无法工作。

询问:

如何推送谷歌云?

最佳答案

确保您已经定义了 right credential helper

git config credential.helper gcloud.sh

# Or, on Windows:

git config credential.helper gcloud.cmd

这样,您就不会使用可能已缓存在 current credential manager, as in here 中的错误凭据。 .

并确保您拥有远程仓库。

关于git push cloud 显示无效的身份验证凭据错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49473897/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com