Re: [AMBER-Developers] New Patch Procedures...

From: Mark Williamson <mjw.sdsc.edu>
Date: Tue, 11 May 2010 15:33:12 -0700

case wrote:
> On Tue, May 11, 2010, Jason Swails wrote:
>> As far as I can tell, there's only a master branch in the git repo for now,
>> and we do not yet have access to this for committing... (from what I
>> gathered from Mark's email).
>
> Both the "master" branch and the "amber11" branch are definitely there, but
> maybe there is some additional incantation needed to get them both -- does
> "git clone" only get the master branch? Can any git guru help Jason out here?

Ok, clone the tree:

  git clone gitosis.git.ambermd.org:amber.git

Change to the tree's root:

  cd amber

List the *all* the branches:

   git branch -a

   [15:28][bunny:2.27][mjw:amber]$ git branch -a
   * master
     remotes/origin/HEAD -> origin/master
     remotes/origin/amber11
     remotes/origin/master

Switch to the amber11 branch and start to track it:
   git checkout amber11
     Branch amber11 set up to track remote branch amber11 from origin.
     Switched to a new branch 'amber11'

[15:30][bunny:1.35][mjw:amber]$ git branch
* amber11
   master
[15:30][bunny:1.30][mjw:amber]$ git branch -a
* amber11
   master
   remotes/origin/HEAD -> origin/master
   remotes/origin/amber11
   remotes/origin/master

regards,

Mark

_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Tue May 11 2010 - 16:00:04 PDT
Custom Search