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

From: Andreas Goetz <agoetz.sdsc.edu>
Date: Tue, 11 May 2010 15:46:13 -0700

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

This may be of help:

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

checks out only the master branch:

  $> cd amber
  $> git branch
  * master

Amber 11 release version has been tagged in the master branch as v_11.
If you just want to have a look at this you can:

  $> git checkout v_11

and switch back to the HEAD of the master branch with:

  $> git checkout master

To see all available branches:

  $> git branch -a
  * master
    remotes/origin/HEAD -> origin/master
    remotes/origin/amber11
    remotes/origin/master

If you want to have a quick look at the amber11 branch:

  $> git checkout origin/amber11

If you want to work on the amber11 branch you need to create a local
tracking branch:

  $> git checkout -b amber11 origin/amber11
  $> git branch
  * amber11
    master

Finally:

  $> gitk

and

  $> gitk --all

is at all points VERY helpful to get an overview on what is going on.

All the best,
Andy


> ...thx...dac
>
>
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers

-- 
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 Tue May 11 2010 - 16:00:06 PDT
Custom Search