-
Notifications
You must be signed in to change notification settings - Fork 332
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
enormous repo size (~400mb) #3
Comments
Yeah, sorry. it's those damn samples :( i wanted them around for people to see a gallery but gees they are big. (resisting XML/SVG target practice here...) |
I think having the samples makes sense - but you can see you actually have 3 copies of the same file in git history:
where
Heh, obviously your call. I think it took me 6 minutes to clone, I actually think it might impact people's interest over time. It might be pretty frustrating for people that don't have decent internet connections. Maybe I should've just done:
which cuts the .git size down to 15M. I don't personally have a habit of doing that on every new repo, but this one makes me think maybe I should, haha. |
hahah. yep! i learned to do depth 1 on the intellij repo which has millions of commits. I'll try to clean this up. you're absolutely right. |
Hmmm...I looked at people's suggestions for removing previous versions of large files and it's pretty terrifying. Maybe the easiest thing to do is simply destroy the repository and copy the files fresh to simulate a depth of one. I'm not in love with my trail of dead code and commit messages so it would not be a huge loss. This might depend on what I do in response to this issue |
I'm going to rename this repo to dtreeviz and squash all commits. :) |
Closing as I fixed with 8411604 |
Hey - interesting project. Just git cloned it to check out some things and realized it was taking a lot longer than expected, especially given I had already seen the number of files in the github UI. So after cloning:
du -h .
gives
A lot of it looks like duplicates of these images in the history:
(from https://stackoverflow.com/a/42544963)
gives
Maybe one of these answers could help you out?
https://stackoverflow.com/questions/2100907/how-to-remove-delete-a-large-file-from-commit-history-in-git-repository
The text was updated successfully, but these errors were encountered: