Re: clone --bare vs push
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jan 3, 2011, 18:41 UTC
- Message-ID
- <AANLkTimsOxfnKHLRMH6JSQbrGKzaOgh_gLuc1gT4JraF@mail.gmail.com>
- In-Reply-To
- <AANLkTi=RNDYrRbyEJXA_c30JEVr=SYUQ01cfA3FyWpLT@mail.gmail.com>
On Mon, Jan 3, 2011 at 19:24, Levend Sayar <levendsayar@gmail.com> wrote:
> 1) When I compare X/.git directory and y.git directory there are many > objects missing in y.git. What is the reason ?
Maybe things were repacked.
> 2) git clone --bare is too fast. My .git directory is nearly 1GB. How > can it be copied that much fast ?
It will use hardlinks when using the same filesystem. See --no-hardlinks in git-clone(1).