hbons/SparkleShare — Issue #385: The size of folder .git become big by time
Author: alucard2511
Created: 2011-10-26 17:05:28+00:00
State: open

Hello,
I'm working on SparkleShare and I've a question. The size of the folder .git grows bigger after a time of usage or after many time of deleting big files. I've a repository with 600MB of working data and 2GB of folder .git.
As I know that's because the Git system keeps in the folder .git the old versions of my files even the deleted files. I have searched on internet for deleting the old history of the repository GIT by the command "git filter-branch" and "git rebase".

But when I can delete the old history on the remote repository, It seem that I have to re-synchronise all the repository (it's like i have to clone a new repository again) because the repository became totally different, the tree and all the hash of commit change.

Do you have any solution to delete the old history in the repository without re-clone all repository again?

Thank you in advance for your response.