-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
File too large in the GIT history #5140
Comments
Maybe this is because of tutorial animated GIFs. We recommend the use of |
In general, this repo's length commit history will make a full clone take an incredible amount of time. I recommend |
There are indeed a large number of static image files. There's not anything we can do about the size of the history without causing a lot of conflicts. |
Do maintainers typically just take the time/space for a full clone? I was under the impression you can't branch/commit/pull on a shallow clone. |
I just did that. Looks like it's 1.9GB on disk and took about 33min on my connection for a full clone. |
I was curious so I tried this https://stackoverflow.com/a/42544963/69002 It seems like what's taking up a lot of the space is dependencies being commited to the gh-pages branch. LIke d33ef36 for example. Those lib.min.js seem to be 15MB-20MB each and get committed a few times a day in a few different subdirectories. |
With the insight that big files are only in the gh-pages branch (which is usually disconnected from main), the situation can be improved using
~1 minute and ~400MB seem acceptable. |
I have noticed that the repository contains a very large file in the GIT history. Is it possible that someone made a commit with some file or directory by mistake? It can be for example nodes_modules or some other like that, unless that really is the correct size of the repository.
I just made a clone of the repository and it took a long time to download it.
The file I refer to in a fresh clone of the repository is:
Expected Behavior
Less time to clone (download) the repo
Actual Behavior
I just made a clone of the repository and it took a very long time to download it.
Steps to Reproduce
The file already measures more than 1 GB!
Possible solution
If a file or directory was uploaded (committed) by mistake, it must be deleted from the story and the following article shows how to do it:
Removing sensitive data from a repository
Operating System and Browser
Mac OS 10.11.14
Chrome Versión 76.0.3809.132 (Build oficial) (64 bits)
I hope this information will be useful
Regards
The text was updated successfully, but these errors were encountered: