Re: how to reduce disk usage for large .git dirs?
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Nov 14, 2014, 15:06 UTC
- Message-ID
- <8761ehom8l.fsf@igel.home>
- In-Reply-To
- <20141114112428.GA12702@aepfle.de>
Olaf Hering <olaf@aepfle.de> 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, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."