Changes between Version 66 and Version 67 of HowToGit
- Timestamp:
- 08/04/19 03:13:30 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToGit
v66 v67 166 166 == Fixing bugs in a release branch == 167 167 168 TODO: verify169 170 168 To directly fix bugs (ideally via feature branch), do 171 169 170 (example: https://github.com/OSGeo/grass/tree/releasebranch_7_8) 171 172 172 {{{ 173 173 # push to release_branch, we assume it to be checked out 174 174 175 cd releasebranch_7 _4/175 cd releasebranch_78/ 176 176 # be sure to locally have all updates from server 177 177 git fetch --all … … 179 179 180 180 # create feature branch 181 git checkout -b r7 4_fix_xxx181 git checkout -b r78_fix_xxx 182 182 183 183 # ... do changes... … … 188 188 189 189 # push to feature branch 190 git push upstream r74_fix_xxx 191 192 # create PR in GitHub UI. IMPORTANT: switch there to release_branch_X_Y! 193 194 # ... after review, merge: 195 190 git push upstream r78_fix_xxx 191 }}} 192 193 Now create the PR in !GitHub UI using the link shown by `git push ...` in the terminal. 194 195 **IMPORTANT: switch there to release_branch_X_Y!** 196 197 After PR positive review, merge PR in !GitHub. 198 199 Local cleanup after successful PR merge: 200 {{{ 196 201 # switch to release branch 197 git checkout releasebranch_7_ 4202 git checkout releasebranch_7_8 198 203 199 204 # be sure to locally have all updates … … 201 206 git branch --merged 202 207 203 git branch -D changelog_fix_msg_74 208 # delete local feature branch as no longer needed 209 git branch -D r78_fix_xxx 204 210 git fetch --all --prune 205 211 git branch -a