Changes between Version 25 and Version 26 of StartModMaint
- Timestamp:
- Dec 20, 2013, 12:42:41 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StartModMaint
v25 v26 154 154 }}} 155 155 156 == = First post-svn conversion merge to {{{master}}} ===156 == First post-svn conversion merge to {{{master}}} == 157 157 158 158 When you are ready to merge the {{{develop}}} branch to {{{master}}} (or better yet a release branch that's branched off {{{master}}}), there's a bit of housekeeping to be done … … 162 162 out what to merge for us. 163 163 164 Begin by navigating to the history for your library on Github, starting with branch master, for example the Config library 165 [https://github.com/boostorg/config/commits/master can be seen here]. Looking down through the commit history we can see 166 that the last merge (In SVN land) was on October 25th 2013: make a note of that date. Now use the dropdown box to 164 * Navigate to the history for your library on Github, starting with branch master, for example the Config library 165 [https://github.com/boostorg/config/commits/master can be seen here]. 166 * Looking down through the commit history, see 167 that the last merge (In SVN land) was on October 25th 2013: make a note of that date. 168 * Use the dropdown box to 167 169 change the history to point to the develop branch, [https://github.com/boostorg/config/commits/develop Config library can be seen here]. 168 As you can see there have been several commits since the date above, the last before that date was on Oct 21st, click on the169 commit message for that c hange to take youto the actual diff for that change, [https://github.com/boostorg/config/commit/67f6b934f161dc5da2039004986a14d9217afae4 in our example here]. The SHA1 for that commit is shown below and to the right of the commit message, in this case it's170 * Find the last commit '''before the date noted above'''. Click on the 171 commit message for that commit to go to the actual diff for that change, [https://github.com/boostorg/config/commit/67f6b934f161dc5da2039004986a14d9217afae4 in our example here]. The SHA1 for that commit is shown below and to the right of the commit message, in this case it's 170 172 {{{67f6b934f161dc5da2039004986a14d9217afae4}}}. 171 173 172 Now we'll create a merge to the specific commit, begin by changing your library to the master branch:174 Create a merge to that specific commit. Begin by changing your library to the master branch: 173 175 174 176 {{{ … … 184 186 185 187 You can now use {{{git status}}} and {{{git diff}}} to check for modifications, in this case there are none. 186 Now make the commit :188 Now make the commit and push to !GitHub: 187 189 188 190 {{{ 189 191 git commit -am "Create first merge point for Git" 190 }}}191 192 And finish off by pushing your changes to Github193 194 {{{195 192 git push 196 193 }}} 197 194 198 195 Then navigate to your libraries history again, and check that the merge shows up, [https://github.com/boostorg/config/commits/master our config example is here]. 199 You're now ready for "routine" merges to proceed as per Git flow (or whatever other strategy you wish to use).196 You're now ready for "routine" merges to proceed as per Git Flow (or whatever other strategy you wish to use). 200 197 201 198 === Lightweight library release ===