* Big repository cannot be reduced
@ 2014-07-15 16:43 Woody Wu
2014-07-16 15:52 ` Michael Haggerty
0 siblings, 1 reply; 2+ messages in thread
From: Woody Wu @ 2014-07-15 16:43 UTC (permalink / raw
To: git
Hi,
I have tried some methods introduced in the network, but always failed. Some big files committed by me to a very old branch then the files deleted and new branches were continuously created. Now the checkout directory has grown to about 80 megabytes. What's the right way to permenently erase those garbage big files?
Thanks in advance.
-
Woody Wu from mobile phone
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Big repository cannot be reduced
2014-07-15 16:43 Big repository cannot be reduced Woody Wu
@ 2014-07-16 15:52 ` Michael Haggerty
0 siblings, 0 replies; 2+ messages in thread
From: Michael Haggerty @ 2014-07-16 15:52 UTC (permalink / raw
To: Woody Wu, git
On 07/15/2014 09:43 AM, Woody Wu wrote:
> I have tried some methods introduced in the network, but always
> failed. Some big files committed by me to a very old branch then the
> files deleted and new branches were continuously created. Now the
> checkout directory has grown to about 80 megabytes. What's the right
> way to permenently erase those garbage big files?
You probably need to use "git filter-branch" or maybe BFG
(http://rtyley.github.io/bfg-repo-cleaner/) to rewrite history as if the
big files had never been committed. But beware of the warnings about
rewriting history--for example, any collaborators will have to rebase
their branches onto the new history.
Michael
--
Michael Haggerty
mhagger@alum.mit.edu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-16 15:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-15 16:43 Big repository cannot be reduced Woody Wu
2014-07-16 15:52 ` Michael Haggerty
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).