File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -534,7 +534,7 @@ git branch -m [<old-branch-name>] <new-branch-name>
534534
535535## Rebases 'feature' to 'master' and merges it in to master
536536``` sh
537- git checkout feature && git rebase @{-1} && git checkout @{-2} && git merge @{-1}
537+ git rebase master feature && git checkout master && git merge -
538538```
539539
540540## Archive the ` master ` branch
Original file line number Diff line number Diff line change 185185 "alternatives" : [" git branch -m [<old-branch-name>] <new-branch-name>" ]
186186}, {
187187 "title" : " Rebases 'feature' to 'master' and merges it in to master " ,
188- "tip" : " git checkout feature && git rebase @{-1} && git checkout @{-2} && git merge @{-1} "
188+ "tip" : " git rebase master feature && git checkout master && git merge - "
189189}, {
190190 "title" : " Archive the `master` branch" ,
191191 "tip" : " git archive master --format=zip --output=master.zip"
You can’t perform that action at this time.
0 commit comments