###前提・実現したいこと
Cloud Source Repositoriesにサンプルコードをpushしたい。
Cloud Source Repositories クイックスタート
を見ながらやっていたのですが、
git push google master
を実行したら以下のエラーが発生しました。
###発生している問題・エラーメッセージ
git: 'credential-gcloud.sh' is not a git command. See 'git --help'. fatal: remote error: Forbidden
###試したこと
git config --list core.repositoryformatversion=0 core.filemode=false core.bare=false core.logallrefupdates=true core.symlinks=false core.ignorecase=true remote.google.url=https://source.developers.google.com/p/oooo/r/default remote.google.fetch=+refs/heads/*:refs/remotes/google/* credential.helper=gcloud.sh
git config を見たら
credential.helper=gcloud.shが登録されていたのでどこに問題があるか検討がつきません。
上記のドキュメントを見てたら、Windowsはgcloud.cmd
だったので変更しました。
もう一度pushしたのですが、下記のようなエラーが出てしまいました。
ERROR: (gcloud.auth.git-helper) Invalid protocol [http]. "https" expected. fatal: remote error: Forbidden
gcloud config list [proxy] address = 00.000.0.0 password = 000000 port = 8080 type = http username = 0000
とhttpsのプロキシは設定されていないのですが、
gcloud config set proxy/type https
と実行しましたが、httpsなんてないよと。。
このエラーの対処方法を教えてください。
あなたの回答
tips
プレビュー