Optional
--abortAborts the rebase operation and resets HEAD to the original branch.
Optional
--applyUses applying strategies to rebase.
Optional
--autosquashSpecial handling for commits with log messages beginning "squash!" or "fixup!" or "amend!". See also --no-autosquash.
Optional
--committer-Uses the author date of the commit being rebased as the committer date.
Optional
--continueRestarts the rebasing process after having resolved a merge conflict.
Optional
--emptySpecifies handling of commits that are not empty to start and are not clean cherry-picks of any upstream commit, but which become empty after rebasing.
Optional
--fork-Uses reflog to find a better common ancestor. See also --no-fork-point.
Optional
--gpg-GPG-sign commits. See also --no-gpg-sign.
Optional
--ignore-Uses the current time as the author date of the rebased commit.
Optional
--ignore-Ignores whitespace differences when trying to reconcile differences.
Optional
--keep-Sets the starting point at which to create the new commits.
Optional
--keep-The complement of --no-keep-empty.
Optional
--mergeUses merging strategies to rebase.
Optional
--no-The complement of --autosquash.
Optional
--no-Replays all rebased commits instead of fast-forwarding over the unchanged ones.
Optional
--no-The complement of --fork-point.
Optional
--no-The complement of --gpg-sign.
Optional
--no-Does not keep commits that start empty before the rebase. See also --keep-empty.
Optional
--no-The complement of --reapply-cherry-picks.
Optional
--no-The complement of --rerere-autoupdate.
Optional
--no-Does not show a diffstat of what changed upstream since the last rebase. See also --stat.
Optional
--no-Bypasses the pre-rebase hook to run. See also --verify.
Optional
--ontoStarting point at which to create the new commits.
Optional
--quietBe quiet. Implies --no-stat.
Optional
--quitAborts the rebase operation but HEAD is not reset back to the original branch.
Optional
--reapply-Reapplies all clean cherry-picks of any upstream commit instead of preemptively dropping them. See also --no-reapply-cherry-picks.
Optional
--rebase-Attempts to preserve the branching structure within the commits that are to be rebased, by recreating the merge commits.
Optional
--rerere-Allows the rerere mechanism to update the index with the result of auto-conflict resolution. See also --no-rerere-autoupdate.
Optional
--rootRebases all commits reachable from branch.
Optional
--signoffAdds a Signed-off-by trailer by the committer to all the rebased commits.
Optional
--skipRestarts the rebasing process by skipping the current patch.
Optional
--statShows a diffstat of what changed upstream since the last rebase. See also --no-stat.
Optional
--strategyUses the given merge strategy.
Optional
--strategy-Passes merge strategy-specific option through to the merge strategy.
Optional
--verboseBe verbose. Implies --stat.
Optional
--verifyAllows the pre-rebase hook to run. See also --no-verify.
Optional
--whitespacePassed to the Git apply program.
Optional
-CEnsures at least n lines of surrounding context match before and after each change.
RebaseOptions defines the supported options for the Git rebase command.