Re: When I clone the kernel source, I encounter a fatal error.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
updates.

I hope my approach can help someone who want to have a lightweight repository.
Thanks for everyone's help !

Thanks,
Hao Lee.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux