emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obscure error/warning/information message from git pull


From: David Kastrup
Subject: Re: Obscure error/warning/information message from git pull
Date: Sun, 16 Nov 2014 16:47:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: David Kastrup <address@hidden>
>> Date: Sun, 16 Nov 2014 10:23:23 +0100
>> 
>> > "git clone" makes a partial copy of a repository.  It does not
>> > duplicate it.  "Clone", as a verb, means "duplicate"; it never means
>> > "truncate".
>> 
>> If you do not want the upstream of the clone to be the original, then
>> use
>> 
>> git clone --mirror
>
> But that implies --bare, which means no working tree, right?  So I
> think this is not what Alan wants.

You can just clone into something like mymirror/.git and then edit the
"bare" flag in the config file.  Slightly ridiculous but workable.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]