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

From: Andreas Goetz <agoetz.sdsc.edu>
Date: Wed, 12 May 2010 11:14:17 -0700

> 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'

   git checkout amber11

won't work in all cases - I think it depends on the version of git in
use. It works with git version 1.7.0 but not with 1.6.4.2
If you experience problems, try:

   git checkout -b amber11 origin/amber11

All the best,
Andy


-- 
Dr. Andreas W. Goetz
San Diego Supercomputer Center
Tel  : +1-858-822-4771
Email: agoetz.sdsc.edu
Web  : www.awgoetz.de
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed May 12 2010 - 11:30:05 PDT
Custom Search