When I clone the kernel source, I encounter a fatal error.
haolee.swjtu at gmail.com
Tue Nov 8 23:01:07 EST 2016
I have tried packedGitWindowSize, packedGitLimit, windowMemory,
packSizeLimit and other options, but it seems that cloning the whole
history still need a lot of memory and Git will be killed by OOM.
Finally, I find that I can clone the latest commit of all branches
with 'git clone --depth=1 --no-single-branch'. Although my local
repository doesn't have any history commits, I can still track remote
I hope my approach can help someone who want to have a lightweight repository.
Thanks for everyone's help !
More information about the Kernelnewbies