Changes between Version 47 and Version 48 of HowToGit


Ignore:
Timestamp:
May 26, 2019, 6:36:32 AM (5 years ago)
Author:
neteler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToGit

    v47 v48  
    170170git checkout master
    171171# With git log, identify the sha1sum of the commit you want to backport (example: into releasebranch_7_6)
     172git log
    172173
    173174# switch to branch
    174175git checkout releasebranch_7_6
    175 # update
     176
     177# first update local repo
    176178git pull origin releasebranch_7_6 --rebase
    177 # backport the commit
     179
     180# now backport the commit (edit conflicts if needed)
    178181git cherry-pick the_sha1_sum
    179 # push to upstream
     182
     183# push backport to upstream
    180184git push upstream releasebranch_7_6
    181185}}}