サーバーに空きRAMがほとんどなく、サーバーが頻繁にスワップしているため、プルに永遠にかかるリポジトリがあります
remote: Compressing objects: 24%
が発生しています(サーバー上でローカルにクローンを作成した場合でも)。ネットワークはそれほど制約されていないため、すべてのデータを非圧縮で送信するのが適切です。どうやってやるの?
サーバーに空きRAMがほとんどなく、サーバーが頻繁にスワップしているため、プルに永遠にかかるリポジトリがあります
remote: Compressing objects: 24%
が発生しています(サーバー上でローカルにクローンを作成した場合でも)。ネットワークはそれほど制約されていないため、すべてのデータを非圧縮で送信するのが適切です。どうやってやるの?
gitドキュメントから:
core.bigFileThreshold Files larger than this size are stored deflated, without attempting delta compression. Storing large files without delta compression avoids excessive memory usage, at the slight expense of increased disk usage. Default is 512 MiB on all platforms. This should be reasonable for most projects as source code and other text files can still be delta compressed, but larger binary media files won't be. Common unit suffixes of 'k', 'm', or 'g' are supported.
したがって、この値を1のように設定すると、うまくいくと思います。
git config --add core.bigFileThreshold 1
コメントによる拡張:これはコマンドで設定できます。ベアリポジトリでも機能します。