-
Notifications
You must be signed in to change notification settings - Fork 33
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' folder is bloated with 1 Go of data ! #145
Comments
Thanks for pointing this out and I see that as well. What I don't know is how to safely fix it. Maybe |
The bloating is due to a bunch of (pretty) old .ipynb files which I used in version 1. Why specifically 8 or 9 versions of one notebook and one or 2 other notebooks are still present is unclear to me. I've tried in many ways to remove these files and/or shorten the history to e.g. only contain v4+ related files, but to no avail. Not sure what other options are available. At least one suggestion I came across is deleting the Github repo, create a new repo with the same name and commit the contents of the current master. |
I am not git nor gihub expert so can't really give safe advices. If I understand well what I've read, git squash, deleting branches or rebase could be a solution.
HTH |
Thanks for your suggestions! It might be difficult to go the route of rewriting history as Mosè pointed out. But nevertheless I'm glad you raised the issue! I pretty much have the package all the time in my dev directory so I hardly ever download it. Anyway, what I think I'm going to do is to move the contents of StatisticalRethinking.jl to a new directory probably called StatisticalRethinkingBase.jl (or SRBase.jl) and use the current version more as a general intro to the StatisticalRethinking GitHub organization. |
After asking for some feedback on Julia discourse I'll implement the above solution. The large size issue only occurs if you As soon as StatisticalRethinkingBase.jl is published I'll let you know and close this issue. Thanks again for your help! |
Hi @samusz , Given that I now have a better understanding of the (somewhat limited, only on initial |
My branch is up to date
'
So for about 4 Mo of data the .git is 1 Go
Some branches needs squashing ?
The text was updated successfully, but these errors were encountered: