Changes between Version 23 and Version 24 of TryModBoost
- Timestamp:
- Dec 3, 2013, 2:42:49 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TryModBoost
v23 v24 90 90 === Checking out a particular branch === 91 91 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: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 {{{mylib}}}, do this: 93 93 94 94 {{{ 95 cd modular-boost/libs/my-lib 96 git checkout -B develop remotes/origin/develop 95 cd modular-boost/libs/mylib 96 git checkout develop 97 git branch -vv 98 git pull 97 99 }}} 98 100 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. 100 102 101 You are now ready to start regular maintenance! 103 {{{git pull}} ensures the checkout is up to date. 104 105 You are now ready to start regular maintenance! See [https://svn.boost.org/trac/boost/wiki/StartModMaint Getting Started with Modular Boost Library Maintenance]. 102 106