[cmake-developers] How to follow the developpement of a CMake branch with git?
Eric Noulard
eric.noulard at gmail.com
Fri Mar 5 16:22:29 EST 2010
2010/3/5 Brad King <brad.king at kitware.com>:
> Eric Noulard wrote:
>> How do I do that with git?
>> I cannot find this on:
>> http://www.cmake.org/Wiki/CMake/Git
>
> The "Resources" linked at the bottom of the page have lots more info.
OK will do my home work using those.
> Use
>
> $ git branch -r
>
> to see remote branches.
>
>> but how can I setup-up my tree to point to v2.8.1-rcLATEST?
>> (and make later git pull take me forward along this branch?)
>
> Quick answer:
>
> $ git checkout -b release origin/release
> Branch release set up to track remote branch release from origin.
>
> or for a new clone and git 1.6.5 or higher:
>
> $ git clone -b release git://cmake.org/cmake.git CMake
>
> Informative answer:
>
> $ git branch
> * master
> $ git branch -r
> origin/HEAD -> origin/master
> origin/master
> origin/nightly
> origin/release
> $ git branch --track release origin/release
> Branch release set up to track remote branch release from origin.
> $ git checkout release
>
> A "tracking" branch is just a local branch that has a couple
> configuration entries:
[...]
OK that's crystal clear
Thank you very much.
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
More information about the cmake-developers
mailing list