Changes between Version 47 and Version 48 of HowToGit
- Timestamp:
- 05/26/19 06:36:32 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToGit
v47 v48 170 170 git checkout master 171 171 # With git log, identify the sha1sum of the commit you want to backport (example: into releasebranch_7_6) 172 git log 172 173 173 174 # switch to branch 174 175 git checkout releasebranch_7_6 175 # update 176 177 # first update local repo 176 178 git pull origin releasebranch_7_6 --rebase 177 # backport the commit 179 180 # now backport the commit (edit conflicts if needed) 178 181 git cherry-pick the_sha1_sum 179 # push to upstream 182 183 # push backport to upstream 180 184 git push upstream releasebranch_7_6 181 185 }}}