gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] git is now operational


From: Gaius Mulley
Subject: Re: [Gm2] git is now operational
Date: Sun, 10 Nov 2013 19:46:45 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Michel De Rosa <address@hidden> writes:

> On Sat, 09 Nov 2013 01:54:07 +0000
> Gaius Mulley <address@hidden> wrote:
>
>> john o goyo <address@hidden> writes:
>> 
>> > On 11/08/13 10:07, Gaius Mulley wrote (in part):
>> >> The
>> >> git clone gm2 command (cvs checkout gm2) will now check out the
>> >> compiler/libraries/testsuite.
>> >
>> > I took the above to mean that issuing a cvs checkout command
>> > specifying only gm2 would check out gm2, libgm2, and testsuite.
>> > This is not what happened to me.  I received gm2, another copy
>> > therein (namely gm2/gm2), but no libgm2 and no testsuite.  The
>> > latter were checked out only after I explicitly specified them in
>> > the checkout command.
>> >
>> > john
>> 
>> Hi John,
>> 
>> ah sorry - my message was misleading.  I meant that the
>> 
>> $ git clone gm2
>> 
>> will check out gm2, libgm2 and testsuite.  (And that the command git
>> clone is a replacement for cvs checkout).
>> 
>> regards,
>> Gaius
>> 
>
> Actually I'm afraid this also might be misleading. While I'm certainly
> no git expert, here's my two cents..
>
>
>  git clone <git url>
>
> Will essentially copy the git repository at <git url> creating a new
> directory under the one where this command was issued.. e.g.
>
>   cd ~/Src/modula-2
>   git clone git://git.sv.gnu.org/gm2.git
>
> New directory ~/Src/modula-2/gm2 ... This is a proper git repository
> itself..
>
> In order to track changes to the master (the one at git.sv.gnu.org)
> repo, one would change directory to this new one.. so:
>
>   cd ~/Src/modula-2/gm2
>
> and then issue either a pull (the normal, i.e. usual way) or a checkout
> (checkout wants a branch for us to work on, so this is less commonly
> used)..
>
>   git pull
>
> This will then update the local repository to reflect (mirror) all the
> changes that may have been made on the master..
>
> Hope this helps.
> Michel.

Hi Michel,

oops - thanks - yes indeed you are correct.  I missed the <git url>,
apologies for further confusion,

regards,
Gaius



reply via email to

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