Changes between Version 17 and Version 18 of u/erica/GitRepos
- Timestamp:
- 05/19/15 14:33:17 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/GitRepos
v17 v18 108 108 }}} 109 109 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 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: 113 111 114 112 {{{ … … 117 115 }}} 118 116 119 Once this is merged, you then want to push those changes back into the repo., 117 118 The differences in the 2 situations is illustrated below: 119 120 [[Image(branch_drawing.png, 45%)]] 121 122 The '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 125 Once you have merged, you then want to push those changes back into the repo., 120 126 121 127 {{{ … … 146 152 to track the move. 147 153 154 And 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. 148 155 149 156 150 157 158