| 132 | == Fixing bugs in a release branch == |
| 133 | |
| 134 | TODO: verify |
| 135 | |
| 136 | To directly fix bugs (ideally via feature branch), do |
| 137 | |
| 138 | {{{ |
| 139 | # push to release_branch, we assume it to be checked out |
| 140 | |
| 141 | cd releasebranch_7_4/ |
| 142 | # be sure to locally have all updates from server |
| 143 | git fetch --all |
| 144 | git branch --merged |
| 145 | |
| 146 | # create feature branch |
| 147 | git checkout -b r74_fix_xxx |
| 148 | |
| 149 | # ... do changes... |
| 150 | |
| 151 | git status |
| 152 | git add ... |
| 153 | git commit -m 'useful commit msg...' |
| 154 | |
| 155 | # push to feature branch |
| 156 | git push upstream r74_fix_xxx |
| 157 | |
| 158 | # create PR in GitHub UI. IMPORTANT: switch there to release_branch_X_Y! |
| 159 | |
| 160 | # ... after review, merge: |
| 161 | |
| 162 | # switch to release branch |
| 163 | git checkout releasebranch_7_4 |
| 164 | |
| 165 | # be sure to locally have all updates |
| 166 | git fetch --all |
| 167 | git branch --merged |
| 168 | |
| 169 | git branch -D changelog_fix_msg_74 |
| 170 | git fetch --all --prune |
| 171 | git branch -a |
| 172 | }}} |
| 173 | |