{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/1235ad2f431e3d9897fa0b95b43e4197?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1235ad2f431e3d9897fa0b95b43e4197","url":"https://api.github.com/users/alucard2511","login":"alucard2511","id":612986},"milestone":null,"assignee":null,"labels":[{"name":"feature","color":"02e10c","url":"https://api.github.com/repos/hbons/SparkleShare/labels/feature"}],"updated_at":"2011-11-03T03:34:03Z","comments":31,"closed_at":null,"url":"https://api.github.com/repos/hbons/SparkleShare/issues/385","body":"Hello,\r\nI'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. \r\nAs 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\".\r\n\r\nBut 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.\r\n\r\nDo you have any solution to delete the old history in the repository without re-clone all repository again?\r\n\r\nThank you in advance for your response.","html_url":"https://github.com/hbons/SparkleShare/issues/385","number":385,"title":"Support git-annex","id":2058960,"created_at":"2011-10-26T17:05:28Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/8a3d63cd94a68919302ee3c33fa4a43a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"8a3d63cd94a68919302ee3c33fa4a43a","url":"https://api.github.com/users/lgordon","login":"lgordon","id":649880},"updated_at":"2011-11-03T03:34:03Z","url":"https://api.github.com/repos/hbons/SparkleShare/issues/comments/2612943","body":"I'm confused about what you mean by the remote abstracts where the data comes from... cant you use git annex get . to download all the annexed files from the server and git annex copy . --to origin to copy all the files to the server.\r\n\r\nI've been trying to test out git annex but I keep making a bare repo and trying to clone it and I get this error:\r\n\r\nwarning: remote HEAD refers to nonexistent ref, unable to checkout.\r\n\r\ngit 1.7.7\r\ngit-annex 3.20111011\r\non Debian Wheezy","id":2612943,"created_at":"2011-11-03T03:34:03Z"}}