Error
git cloneしようとすると以下のエラーがでる
gh repo clone xxx
Cloning into 'xxx'...
error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
fatal: expected 'packfile'
failed to run git: exit status 128
解決策
git config --global http.postBuffer 524288000
このコマンドで~/.gitconfig
に以下のような設定が入るので適宜調整。(clone後不要であれば削除)
~/.gitconfig
[http]
postBuffer = 524288000
原因
http bufferサイズのせいのよう