Skip to content

Commit 3357955

Browse files
committed
Fixed #117
1 parent 9f75591 commit 3357955

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

tips.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
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"

0 commit comments

Comments
 (0)