ものづくりのブログ

うちのネコを題材にしたものづくりができたらいいなと思っていろいろ奮闘してます。

【Github】git error: git-remote-https died of signal 4 になった場合の回避策

githubでクローンコマンドを実行したらエラーになったので回避策を調べました。

直面した問題

$ git clone "https://github.com/{{xxxx}}/{{xxxx}}.git" {{xxxx}} -b "v1.0.0"

Cloning into '{{xxxx}}'...
error: git-remote-https died of signal 4
zsh: exit 1                                     

回避策

$ export  GNUTLS_CPUID_OVERRIDE=0x1