git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Configuring git to for forget removed files
@ 2010-02-20 10:37 Andrew Benton
  2010-02-20 15:41 ` Tim Visher
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Andrew Benton @ 2010-02-20 10:37 UTC (permalink / raw)
  To: git

Hello world
I have a project that I store in a git repository. It's a bunch of source tarballs and
some bash scripts to compile it all. Git makes it easy to distribute any changes I make
across the computers I run. The problem I have is that over time the repository gets ever
larger. When I update to a newer version of something I git rm the old tarball but git
still keeps a copy and the folder grows ever larger. At the moment the only solution I
have is to periodically rm -rf .git and start again. This works but is less than ideal
because I lose all the history for my build scripts.
What I would like is to be able to tell git to not keep a copy of anything that has been
git rm. The build scripts never get removed, only altered so their history would be
preserved. Is it possible to make git delete its backup copies of removed files?

Andy

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

end of thread, other threads:[~2010-02-21 21:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-20 10:37 Configuring git to for forget removed files Andrew Benton
2010-02-20 15:41 ` Tim Visher
2010-02-20 18:50 ` Avery Pennarun
2010-02-20 19:16 ` Junio C Hamano
2010-02-21  2:47 ` Jonathan Nieder
2010-02-21 13:32   ` Andrew Benton
2010-02-21 20:32 ` Larry D'Anna
2010-02-21 21:14   ` Jacob Helwig

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).