-
Notifications
You must be signed in to change notification settings - Fork 23.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git repository might need some cleanup #54
Comments
Phenomenal point. We'll look into it. I'll keep it open until we get it resolved. |
you can use |
That's a good trick, shel3over. From a quick test. An updated clone with full history was 764M but a fresh clone with --depth 1 was only 508M. The difference appears to be in the .git folders (448M vs 191M). Maybe a note on the opening page to let users know this is a recommended way to clone? |
Add "dingleberry" to the English file
I suggest to add this note with the notification about over-sized .git directory to README file before this issue will be fixed. |
Note: If you use |
To quote the github docs:
Also, if seclists were to use git LFS, everyone who wanted to clone the repo would also need to install git LFS on their system before cloning. See: https://docs.github.com/en/repositories/working-with-files/managing-large-files/collaboration-with-git-large-file-storage Therefor, git LFS is not viable to be used on Seclists. |
I've got this cloned onto my system and the directory takes up 778M of which 380M is the .git directory. This seems excessive. Might it be worthwhile to run garbage collection and pruning to reduce this down a bit? Or is there a valid reason to keep it all that I'm missing?
Maybe run something like what is suggested here:
https://stackoverflow.com/questions/2116778/reduce-git-repository-size
The text was updated successfully, but these errors were encountered: