From: Tor Arvid Lund <torarvid@gmail.com>
To: Ruben Laguna <ruben.laguna@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: why is my repo size ten times bigger than what I expected?
Date: Wed, 9 Mar 2011 22:06:19 +0100 [thread overview]
Message-ID: <AANLkTimYE8qCz98u3r2HRmeCx7k0wd_cWp-tR+tSoKbD@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikxPPo4pGqrvo4rdDUOwp1PYYEdcERVfXfLnsVh@mail.gmail.com>
On Wed, Mar 9, 2011 at 5:35 PM, Ruben Laguna <ruben.laguna@gmail.com> wrote:
>> I just thought I'd mention that the git-remove-history script that you
>> mention does filter-branch on HEAD, and not using the --all parameter.
>> I thought --all was the best way to "catch all" branches in one go...
>>
>> -- Tor Arvid
>>
>
> Much faster this way, thanks Tor,
>
> But it still gives the same result 88MB
>
>
> $ git branch -a
> * develop
> master
> remotes/origin/HEAD -> origin/develop
> remotes/origin/develop
> remotes/origin/experimental
> remotes/origin/gh-pages
> remotes/origin/master
>
> Finally I have deleted my public repo on github, created a new one and
> pushed master and develop to the new empty one.
Ah, that's why I got only 3.6M when i cloned just now ;)
FWIW (if you still want to figure it out...) - Whatever refs that your
origin branches point to - their history and objects will *not* get
deleted by git gc/prune/whatever. So if they point to commits which
have these big jars in the history, that may be the cause. Also, when
I do filter-branch, it saves the old refs in .git/refs/original so
that I can revert it all those times when I screw it up ;)
Basically - since your "new" repo is so small, there is something in
your original repo that refers to your large objects.
Have a good night.
-- Tor Arvid
prev parent reply other threads:[~2011-03-09 21:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTimi+OnpdX+Y7jx1JaOmGbZc_XEgJFeK0PKLpu2o@mail.gmail.com>
2011-03-05 10:05 ` why is my repo size ten times bigger than what I expected? Ruben Laguna
2011-03-05 10:49 ` Pascal Obry
2011-03-05 10:49 ` Jonathan del Strother
2011-03-05 11:41 ` Ruben Laguna
2011-03-05 12:57 ` Andreas Schwab
2011-03-07 9:59 ` Ruben Laguna
2011-03-08 21:25 ` Phillip Susi
2011-03-08 21:44 ` Tor Arvid Lund
2011-03-09 16:35 ` Ruben Laguna
2011-03-09 21:06 ` Tor Arvid Lund [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTimYE8qCz98u3r2HRmeCx7k0wd_cWp-tR+tSoKbD@mail.gmail.com \
--to=torarvid@gmail.com \
--cc=git@vger.kernel.org \
--cc=ruben.laguna@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).