Re: reducing object store size with remote alternates or shallow clone?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 24, 2010, 18:59 UTC
- Message-ID
- <7vfwy3vnti.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <2dePxmEZeCbs4IkjGd-Ig2cma8lknd0XEwVdaypeAxtQDY3EZeSEPA@cipher.nrlssc.navy.mil>
Brandon Casey <brandon.casey.ctr@nrlssc.navy.mil> writes:
Show 13 quoted lines
> On 08/24/2010 11:45 AM, Junio C Hamano wrote: > >> How about doing >> >> $ LINUS=git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git > >> $ git fetch $LINUS >> $ git bundle create myfork.bundle HEAD..master > > I think you mean > > $ git fetch $LINUS master > $ git bundle create myfork.bundle FETCH_HEAD..master
Thanks, of course you are right.
Strictly speaking, as I know there is only one branch in the repository of Linus, there is no need to say "master" when fetching, but it would be a good discipline to explicitly specify what you mean on the command line.