Pack file too large in the Git repository, affecting clone speed.
shimingsir opened this issue · comments
Description:
When cloning the hyprdots repository, I noticed that the .git/objects/pack/ directory takes up nearly 900MB of space, which makes the cloning process very slow.
$ du -sh hyprdots
1.1G hyprdots
$ du -sh hyprdots/.git/objects/pack/
897M hyprdots/.git/objects/pack/
Environment Information:
- Operating System: Arch Linux
- Git Version: 2.45.2
Expected Result:
It would be great if the Git repository size could be optimized and the pack file size reduced, as this would improve cloning speed and enhance the user experience.
Thank you!
My native language is not English, so there might be spelling or grammatical errors. Please bear with me.
):
Please bear with me. I am a beginner, and my submission might not be perfect. Thank you for your understanding.
how did you clone 'HyDE'?
It's essentially lightweight as there are no wallpapers stored on this repo.
The suggested command to clone is
git clone --depth 1 https://github.com/prasanthrangan/hyprdots ~/HyDE
which is only 300 Gb.
Because the themes are now hosted to another repository.
Sorry for the delay.
The command I used was:
git clone https://mirror.ghproxy.com/https://github.com/prasanthrangan/hyprdots.git
.
I did use a mirror site to clone 'HyDE' due to restrictions caused by the Great Firewall (GFW).
Thank you very much for your suggestion. After following it, the issue has been resolved. I appreciate your patience.