git rebase
Rebase Commits.
Syntax
$git rebase [OPTIONS] <UPSTREAM>
Examples
Examples
$git rebase main
Examples
$git rebase -i HEAD~3
Warnings
Can modify history – use with caution.
Typical use cases
git rebase --help
man git-rebase
Note
Modifies commit history.
Export