mirror of https://github.com/CrimsonTome/tldr.git
git-rebase: add --onto option (#1080)
parent
c73c797594
commit
a6efcb6ba8
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
`git rebase -i master`
|
`git rebase -i master`
|
||||||
|
|
||||||
- Rebase your local branch interactively with the latest changes from upstream:
|
- Rebase your local branch interactively with the latest changes from upstream:
|
||||||
|
|
||||||
`git fetch origin; git rebase -i origin/master`
|
`git fetch origin; git rebase -i origin/master`
|
||||||
|
|
||||||
|
@ -17,3 +17,7 @@
|
||||||
- Abort a rebase in-progress:
|
- Abort a rebase in-progress:
|
||||||
|
|
||||||
`git rebase --abort`
|
`git rebase --abort`
|
||||||
|
|
||||||
|
- Rebase your local branch by specifying new base commit and old base commit:
|
||||||
|
|
||||||
|
`git rebase --onto {{new_base_commit}} {{old_base_commit}}`
|
||||||
|
|
Loading…
Reference in New Issue