Changes between Version 64 and Version 65 of HowToGit


Ignore:
Timestamp:
07/03/19 08:18:50 (5 years ago)
Author:
neteler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToGit

    v64 v65  
    213213
    214214{{{
     215# temporarily switch to master
    215216git checkout master
    216 # With git log, identify the sha1sum of the commit you want to backport (example: into releasebranch_7_6)
     217
     218# update master to fetch the commit to be backported
     219git fetch --all --prune
     220
     221# Note: only needed if you have your fork as "origin" (see above)
     222# update local repo
     223## NO git pull origin releasebranch_7_6 --rebase
     224# merge updates into local master
     225git merge upstream/releasebranch_7_6
     226# at this point we have reached:
     227# (HEAD -> master, upstream/releasebranch_7_6, releasebranch_7_6)
     228
     229# ??? update own remote
     230git push origin releasebranch_7_6
     231
     232# ??? With git log, identify the sha1sum of the commit you want to backport (example: backport into releasebranch_7_6)
    217233git log
    218 
    219 # update to fetch the commit to be backported
    220 git fetch --all --prune
    221234
    222235# switch to branch
    223236git checkout releasebranch_7_6
    224237
    225 # Note: only needed if you have your fork as "origin"
    226 # update local repo
    227 git pull origin releasebranch_7_6 --rebase
    228 
    229238# now backport the commit (edit conflicts if needed)
    230239git cherry-pick the_sha1_sum