Changes between Version 23 and Version 24 of TryModBoost


Ignore:
Timestamp:
Dec 3, 2013, 2:42:49 PM (9 years ago)
Author:
Beman Dawes
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TryModBoost

    v23 v24  
    9090=== Checking out a particular branch ===
    9191
    92 The {{{clone}}} operation above leaves the individual libraries in the {{{modular-boost}}} local repository in a detached state that is not very useful and can result in data loss. So the first thing you want to do is switch a library you want to modify to the branch you want to work on. For example, if you want to do some maintenance on the {{{develop}}} branch of {{{my-lib}}}, do this:
     92The {{{clone}}} operation above leaves the individual libraries in the {{{modular-boost}}} local repository in a detached state that is not very useful and can result in data loss. So the first thing you want to do is switch a library you want to modify to the branch you want to work on. For example, if you want to do some maintenance on the {{{develop}}} branch of {{{mylib}}}, do this:
    9393
    9494{{{
    95 cd modular-boost/libs/my-lib
    96 git checkout -B develop remotes/origin/develop
     95cd modular-boost/libs/mylib
     96git checkout develop
     97git branch -vv
     98git pull
    9799}}}
    98100
    99 Be sure to use {{{git checkout}}} as shown. If you just did {{{git checkout develop}}} you would get a local branch that did not track the remote.
     101{{{git branch -vv}}} is just to reassure yourself you are tracking the remote repo. If not, you have some problem, such as a very old version git.
    100102
    101 You are now ready to start regular maintenance!
     103{{{git pull}} ensures the checkout is up to date.
     104
     105You are now ready to start regular maintenance! See [https://svn.boost.org/trac/boost/wiki/StartModMaint Getting Started with Modular Boost Library Maintenance].
    102106