Changes between Version 17 and Version 18 of u/erica/GitRepos


Ignore:
Timestamp:
05/19/15 14:33:17 (10 years ago)
Author:
Erica Kaminski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • u/erica/GitRepos

    v17 v18  
    108108}}}
    109109
    110 Once you have done this, you want to switch back to your working branch so that you can merge the development branch into your working branch, rather than the other way around. This effectively changes the tree structure like so:
    111 
    112 
     110Once you have done this, you want to switch back to your working branch so that you can merge the development branch into your working branch, rather than the other way around:
    113111
    114112{{{
     
    117115}}}
    118116
    119 Once this is merged, you then want to push those changes back into the repo.,
     117
     118The differences in the 2 situations is illustrated below:
     119
     120[[Image(branch_drawing.png, 45%)]]
     121
     122The 'good' option shows your changes going 'ahead' of the development branch, i.e. your branch contains the new additions to the development branch. The 'not-good' option, which would be you merging your branch ''into '' the development branch shows that this would update ''the development branch'' to have all of your changes. Ideally, this is left to the main developers of the code (i.e. Jonathan and Baowei), and only happens after thorough testing of any new/modified code.
     123
     124
     125Once you have merged, you then want to push those changes back into the repo.,
    120126
    121127{{{
     
    146152to track the move.
    147153
     154And lastly, note that one can not simply pull changes from different branches of the code; they are separate entities, unless connected by a branch. If you want changes from another person's development branch, you need to merge. Just think about which direction would be best.
    148155
    149156
    150157
     158