[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple checkout copies
From: |
David Kastrup |
Subject: |
Re: Multiple checkout copies |
Date: |
Tue, 03 Feb 2015 09:40:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> [[[ To any NSA and FBI agents reading my email: please consider ]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> I wrote
>
> > Doesn't 'git clone' download a copy of the whole repository?
> > > I thought that is what it did.
>
> and you answered
>
> > When you do a "git checkout" of an existing git repository it will
> > hard-link the files in .git/objects so that they are shared between the
> > repositories.
>
> How does one get from the one t the other? I am lost.
I suppose by fixing a finger fluke. The second statement can be turned
from nonsensical to accurate by replacing "git checkout" with "git
clone". Of course, you still need to make this "of an existing git
repository on the same file system" since otherwise you won't be getting
hard links.
--
David Kastrup
- Multiple checkout copies, Richard Stallman, 2015/02/01
- Re: Multiple checkout copies, Paul Eggert, 2015/02/01
- Re: Multiple checkout copies, Ivan Shmakov, 2015/02/02
- Re: Multiple checkout copies, Ivan Shmakov, 2015/02/02
- Re: Multiple checkout copies, Richard Stallman, 2015/02/02
- Re: Multiple checkout copies, Ivan Shmakov, 2015/02/03
- Re: Multiple checkout copies, Achim Gratz, 2015/02/03
- Re: Multiple checkout copies, David Kastrup, 2015/02/03
- Re: Multiple checkout copies, Achim Gratz, 2015/02/03
- Re: Multiple checkout copies, David Kastrup, 2015/02/03
- Re: Multiple checkout copies, Ivan Shmakov, 2015/02/03
- Re: Multiple checkout copies, David Kastrup, 2015/02/03