[Top][All Lists]

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

Re: [Gm2] git is now operational

From: Michel De Rosa
Subject: Re: [Gm2] git is now operational
Date: Sun, 10 Nov 2013 14:37:25 -0500

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://

New directory ~/Src/modula-2/gm2 ... This is a proper git repository

In order to track changes to the master (the one at
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

  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.

reply via email to

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