Changes between Version 20 and Version 21 of TryModBoost
- Timestamp:
- Dec 2, 2013, 7:21:09 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TryModBoost
v20 v21 88 88 === Checking out a particular branch === 89 89 90 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:90 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: 91 91 92 92 {{{ 93 cd libs/my-lib94 git checkout develop93 cd modular-boost/libs/my-lib 94 git checkout -B develop remotes/origin/develop 95 95 }}} 96 96 97 {{{develop}}} corresponds to svn {{{trunk}}}, and is the starting point for simple changes that do not justify creating a new branch. 97 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. 98 99 You are now ready to start regular maintenance! 98 100