Reputation: 2078
The title pretty much describes my whole problem. I tried doing git gc
, but that didn't help at all. I also verified that it is indeed the hidden .git folder that's 45GB in size.
I'm not familiar with the command line at all, I've mostly just used SourceTree/Gitkraken as my git client.
What can I do to solve the problem with my local rep? Is the easiest thing just to delete it and clone it again from remote?
Upvotes: 0
Views: 78
Reputation: 2078
I ended up just deleting it and cloning the repo again, that fixed it.
Upvotes: 1
Reputation: 38096
If you do version control for binary files very frequently, this will slow down git and make the space expand quickly.
So better ways to manage binary files in git, you can delete useless large files from commit histories or you can use git-lfs to manage your git repo.
Upvotes: 0