How do I tell git to use fewer cores/threads when compressing?

Solution 1:

Set the pack.threads configuration option to a value between 1 and 7, inclusive.

For example, if you wanted git to use 6 threads instead of 8:

git config --global pack.threads "6"

Alternatively, edit the .gitconfig:

[pack]
    threads = 6