Changes between Version 84 and Version 85 of HowToGit
- Timestamp:
- Feb 17, 2020, 4:30:10 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToGit
v84 v85 232 232 === Backporting of a single commit from master to release branch === 233 233 234 ... assumming that we are in releasebranch_7_8 branch: 235 236 {{{ 234 ... we are in releasebranch_7_8 branch: 235 236 {{{ 237 # assumptions: 238 # - the own fork is defined as "origin" 239 # - the remote repo is defined as "upstream" 240 241 # 1. update the local copy and fork to state of remote repo 237 242 git fetch --all --prune 238 git rebase upstream/releasebranch_7_8 239 # get hash from GitHub or git log in master 243 git checkout releasebranch_7_8 244 git merge upstream/releasebranch_7_8 245 git push origin releasebranch_7_8 246 247 248 # 2. get hash from GitHub or git log in master 249 250 # 3. cherry-pick the change from master into releasebranch branch 240 251 git cherry-pick <hash> 241 252 … … 247 258 git show 248 259 249 # push backport to upstream260 # push backport to releasebranch upstream 250 261 git push upstream releasebranch_7_8 251 262 }}}