mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-08 00:33:16 +02:00
19 lines
462 B
Markdown
19 lines
462 B
Markdown
# git rebase
|
|
|
|
> Apply local commits on top of another branch's history
|
|
|
|
- Rebase your local branch interactively with the latest changes in local master
|
|
|
|
`git rebase -i master`
|
|
|
|
- Rebase your local branch interactively with the latest changes from upstream
|
|
|
|
`git fetch origin; git rebase -i origin/master`
|
|
|
|
- Handling an active rebase merge failure, after editing conflicting file(s)
|
|
|
|
`git rebase --continue`
|
|
|
|
- Abort a rebase in-progress
|
|
|
|
`git rebase --abort`
|