Re: Trying to use git-filter-branch to compress history by removing large, obsolete binary files

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sam Vilain
Date: Sunday, October 7, 2007 - 7:28 pm

Elijah Newren wrote:

You can just delete the logs and references that you don't want and run
git gc --prune.

However.

git gc creates a new pack before deleting the old one.  Garbage
collection usually does this; make a copy of everything to a new place
and then free all of the old space.  If *that* is a problem, ie you
don't have enough space for two copies of the repository and the junk,
you'll have to do a partial import, leave the junk you don't want
unpacked, cleanup and prune, then finish the import.  Which sounds like
a lot of hassle when you should really just find a place with more space
to work with!

Sam.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Trying to use git-filter-branch to compress history by ..., Johannes Schindelin, (Sun Oct 7, 4:19 pm)
Re: Trying to use git-filter-branch to compress history by ..., Johannes Schindelin, (Sun Oct 7, 4:28 pm)
Re: Trying to use git-filter-branch to compress history by ..., Johannes Schindelin, (Sun Oct 7, 5:34 pm)
Re: Trying to use git-filter-branch to compress history by ..., Johannes Schindelin, (Sun Oct 7, 6:06 pm)
Re: Trying to use git-filter-branch to compress history by ..., Sam Vilain, (Sun Oct 7, 7:28 pm)
Re: Trying to use git-filter-branch to compress history by ..., Johannes Schindelin, (Tue Oct 9, 3:37 am)