链接到bitbucket的gcloud repos变为只读

问题描述 投票:1回答:1

我在gcloud源代码/开发人员区域创建了一个repo,它链接到bitbucket上托管的repo。这一直都很好,但是最近当我尝试做一个简单的推送时,我得到了这样的信息:

fatal: protocol error: expected sha/ref, got 'The remote repository is a read-only mirror of http://bitbucket.og/[...]. To update, please push there.

我不介意切换到直接使用BitBucket工作,但我喜欢继续通过gcloud运行这个想法,如果可以的话。我已将gcloud上的回购链接取消链接并重新连接到BitBucket,没有运气。

这对任何人来说都很熟悉吗?

git bitbucket gcloud
1个回答
1
投票

我和github链接的repo有同样的问题。我最后只为github添加了一个遥控器。例如

git remote add github http://github.com/<user>/<repo>
git push github master

这样做,gcloud repo会自动镜像并立即反映在云控制台中。

© www.soinside.com 2019 - 2024. All rights reserved.