git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problems getting rid of large files using git-filter-branch
@ 2009-01-06 21:59 Øyvind Harboe
  2009-01-06 22:20 ` Johannes Schindelin
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Øyvind Harboe @ 2009-01-06 21:59 UTC (permalink / raw)
  To: git

I'm trying to get rid of some large objects in my .git repository
using git-filter-branch. These are remnants from conversion from
CVS.


Q1: How can I figure out what it is in .git that takes so much space?

Q2: Where can I read more about what to do after running git-filter-branch to
removing the offending objects?



1. I ran this command to get rid of the offending files and that appears to
have worked. I can't find any traces of them anymore...

git filter-branch --tree-filter 'find . -regex ".*toolchain\..*" -exec
rm -f {} \;' HEAD

2. Running "git gc" takes a few seconds. The repository is still
huge(it should be
perhaps 10-20mByte).

du -skh .git/
187M    .git/

3. I tried "git reflog expire --all" + lots of other tricks in the
link below, but no luck.



I tried the tricks I could find in this thread, but no luck:

http://article.gmane.org/gmane.comp.version-control.git/60219/match=trying+use+git+filter+branch+compress

-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-01-07 18:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-06 21:59 Problems getting rid of large files using git-filter-branch Øyvind Harboe
2009-01-06 22:20 ` Johannes Schindelin
2009-01-06 22:36   ` Øyvind Harboe
2009-01-07 10:07     ` Johannes Schindelin
2009-01-07 10:15       ` Øyvind Harboe
2009-01-07 12:45         ` Johannes Schindelin
2009-01-07 18:18       ` Sitaram Chamarty
2009-01-06 22:31 ` Nicolas Pitre
2009-01-06 22:41   ` Øyvind Harboe
2009-01-06 23:17   ` Stephen R. van den Berg
2009-01-07  0:56     ` Nicolas Pitre
2009-01-07  8:26 ` Øyvind Harboe
2009-01-07 15:02   ` Nicolas Pitre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).