【发布时间】:2017-04-26 05:44:01
【问题描述】:
情况:
我正在学习本教程:
https://cloud.google.com/nodejs/tutorials/bookshelf-on-compute-engine
当我到达这里时:
代码:
git commit -am "Updating configuration"
git config credential.helper gcloud.sh
git remote add cloud https://source.developers.google.com/p/[YOUR_PROJECT_ID]/
git push cloud
错误:
我收到以下错误:
fatal: remote error: Forbidden
问题:
我该如何解决这个问题?
P.S.:我确实做到了:gcloud auth application-default login
【问题讨论】:
-
当您浏览到console.cloud.google.com/code/develop/… 时会发生什么?你有回购吗?
-
@csells 如果我导航到该链接,我确实有一个仓库。
-
你可以使用完整的 URL 来获取 repo:source.developers.google.com/p/[PROJECT]/r/[REPO]
-
@csells 是的,我可以
标签: node.js git google-cloud-platform google-compute-engine google-cloud-source-repos