CommandsrebaseOn this pagegq rebase gq rebase [OPTIONS] Description Rewrite commit history by replaying selected commits onto a new base (supports interactive selection). Options OptionDescription-i, --interactiveRun rebase in interactive mode.