Subject: Re: how to reduce disk usage for large .git dirs?

From: Andreas Schwab <[email-masked]>
Date: Fri, 14 Nov 2014 16:06:18 +0100

Olaf Hering <[email-masked]> writes:

> Even if I do a fresh clone with --bare, the result can not be updated
> anymore with git fetch. What I'm doing wrong?

A --bare clone has no connection to its origin (there are no remotes).
You want a --mirror.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."