Changes between Version 78 and Version 79 of HowToGit
- Timestamp:
- 11/17/19 13:57:21 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToGit
v78 v79 63 63 # (HEAD -> master, upstream/master) 64 64 65 ### b) updating releasebranch_7_ 665 ### b) updating releasebranch_7_8 66 66 # switch to branch 67 67 # only once 68 git checkout -b releasebranch_7_ 6 origin/releasebranch_7_669 # next time, git checkout releasebranch_7_ 668 git checkout -b releasebranch_7_8 origin/releasebranch_7_8 69 # next time, git checkout releasebranch_7_8 70 70 71 71 # merge updates into local branch 72 git merge upstream/releasebranch_7_ 672 git merge upstream/releasebranch_7_8 73 73 74 74 # at this point we have reached: 75 # (HEAD -> releasebranch_7_ 6, upstream/releasebranch_7_6)75 # (HEAD -> releasebranch_7_8, upstream/releasebranch_7_8) 76 76 77 77 # update own remote … … 252 252 === Made a mess? Fix it === 253 253 254 Example: mess happened on releasebranch_7_ 6:255 256 {{{ 257 git reset --hard upstream/releasebranch_7_ 6258 git pull upstream releasebranch_7_ 6--rebase254 Example: mess happened on releasebranch_7_8: 255 256 {{{ 257 git reset --hard upstream/releasebranch_7_8 258 git pull upstream releasebranch_7_8 --rebase 259 259 260 260 # now all should be clean again