The first time you need to checkout next, you should do: git checkout -b next origin/next
which will set it up as a local branch that tracks the remote 'origin/next' branch... On Mon, Jun 14, 2010 at 1:10 PM, Mathieu Malaterre <[email protected]> wrote: > Hi there, > > I discover that one should not follow instruction from: > http://www.cmake.org/Wiki/CMake/Git#Publishing (which is linked from > the main cmake.org page), but instead should follow: > http://public.kitware.com/Wiki/Git/Workflow/Topic > > Is that right ? If so could someone please let me know what is wrong > the sequence of commands: > > > git clone git://cmake.org/cmake.git CMake > cd CMake > git checkout master > git pull > git checkout -b finddcmtk > cp ~/Perso/gdcm/trunk/CMake/FindDCMTK.cmake Modules > git add -- Modules/FindDCMTK.cmake > git commit > git checkout next > error: pathspec 'next' did not match any file(s) known to git. > > Thanks > -- > Mathieu > _______________________________________________ > cmake-developers mailing list > [email protected] > http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers > _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
