mirror of
https://github.com/namibia/tips.git
synced 2024-11-05 21:07:53 +00:00
Fixed #117
This commit is contained in:
parent
9f75591eef
commit
3357955baa
@ -534,7 +534,7 @@ git branch -m [<old-branch-name>] <new-branch-name>
|
||||
|
||||
## Rebases 'feature' to 'master' and merges it in to master
|
||||
```sh
|
||||
git checkout feature && git rebase @{-1} && git checkout @{-2} && git merge @{-1}
|
||||
git rebase master feature && git checkout master && git merge -
|
||||
```
|
||||
|
||||
## Archive the `master` branch
|
||||
|
@ -185,7 +185,7 @@
|
||||
"alternatives": ["git branch -m [<old-branch-name>] <new-branch-name>"]
|
||||
}, {
|
||||
"title": "Rebases 'feature' to 'master' and merges it in to master ",
|
||||
"tip": "git checkout feature && git rebase @{-1} && git checkout @{-2} && git merge @{-1}"
|
||||
"tip": "git rebase master feature && git checkout master && git merge -"
|
||||
}, {
|
||||
"title": "Archive the `master` branch",
|
||||
"tip": "git archive master --format=zip --output=master.zip"
|
||||
|
Loading…
Reference in New Issue
Block a user