Re: [git-users] get rid of old commits

2010-09-30 Thread Peter
You could try to run git config --global gc.auto 100 on your repo machine and work machine. If the number of loose objects exceeds the value of the gc.auto configuration variable, then all loose objects are combined into a single pack usinggit repack -d -l. On Thu, Sep 30, 2010 at 2:08 AM,

Re: [git-users] get rid of old commits

2010-09-30 Thread Peter
If you really want to remove old commit, you can just use git rebase -i http://book.git-scm.com/4_interactive_rebasing.html pick fc62e55 added file_size pick 9824bf4 fixed little thing pick 21d80a5 added number to log pick 76b9da6 added the apply command pick c264051 Revert added file_size - not

Re: [git-users] get rid of old commits

2010-09-29 Thread Brett Viren
On Mon, Sep 20, 2010 at 11:57 AM, canna c.ne...@gmail.com wrote: the problem is, it's taking a lot of time for simple everyday operations Have you run git gc ever? -Brett. -- You received this message because you are subscribed to the Google Groups Git for human beings group. To post to

Re: [git-users] get rid of old commits

2010-09-29 Thread Adam Prescott
My understanding is that git will handle running git gc for you when you have a fair amount of stuff it can clear up (I've seen it do this automatically, personally, but I could be wrong). So even if the answer is no, it might not be the answer to the question, has 'git gc' ever been run? -- You