Changes between Version 66 and Version 67 of HowToGit


Ignore:
Timestamp:
Aug 4, 2019, 3:13:30 AM (5 years ago)
Author:
neteler
Comment:

updated

Legend:

Unmodified
Added
Removed
Modified
  • HowToGit

    v66 v67  
    166166== Fixing bugs in a release branch ==
    167167
    168 TODO: verify
    169 
    170168To directly fix bugs (ideally via feature branch), do
    171169
     170(example: https://github.com/OSGeo/grass/tree/releasebranch_7_8)
     171
    172172{{{
    173173# push to release_branch, we assume it to be checked out
    174174
    175 cd releasebranch_7_4/
     175cd releasebranch_78/
    176176# be sure to locally have all updates from server
    177177git fetch --all
     
    179179
    180180# create feature branch
    181 git checkout -b r74_fix_xxx
     181git checkout -b r78_fix_xxx
    182182
    183183# ... do changes...
     
    188188
    189189# 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 
     190git push upstream r78_fix_xxx
     191}}}
     192
     193Now 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
     197After PR positive review, merge PR in !GitHub.
     198
     199Local cleanup after successful PR merge:
     200{{{
    196201# switch to release branch
    197 git checkout releasebranch_7_4
     202git checkout releasebranch_7_8
    198203
    199204# be sure to locally have all updates
     
    201206git branch --merged
    202207
    203 git branch -D changelog_fix_msg_74
     208# delete local feature branch as no longer needed
     209git branch -D r78_fix_xxx
    204210git fetch --all --prune
    205211git branch -a