i++

プログラム系のメモ書きなど

gcloud : ERROR: (gcloud.auth.git-helper) Invalid input line format: [path=].

gcloud source repos clone (リポジトリ名) --project=(プロジェクト名)Google Cloud Platform 上のソースコードをクローンしようとしたときに発生。

ERROR: (gcloud.auth.git-helper) Invalid input line format: [path=].
fatal: remote error:

解決方法

git config --system --unset credential.helper の実行で解決。

ただし

error: could not lock config file C:\Program Files\Git\mingw64/etc/gitconfig: Permission denied

と初回実行時には出ていたので、該当のフォルダ(C:\Program Files\Git\mingw64/)を右クリック → プロパティ → セキュリティでアクセス許可を編集する必要があった。

参考

gcloud cli - On Windows git pull and clone for Google cloud repository pops credential manager dialog box - Stack Overflow