The Git rebase todo list is a text file that opens automatically during an interactive rebase (git rebase -i). It acts as a script, executing commands on your commit history chronologically from top to bottom.

CommandShortAction
pickpKeeps the commit as it is.
rewordrKeeps the commit but lets you change the message.
editePauses the rebase to let you amend the files in that commit.
squashsCombines the commit into the previous one, merging both messages.
fixupfCombines the commit into the previous one but discards this commit’s message.
dropdDeletes the commit from history
execeRuns a shell command (exp: tests / linters) after that specific commit.

Resume the process: Save and exit your editor, resolve conflicts if they happen, and run git rebase --continue to proceed.

Safely back out: If you make a mistake or get lost, type git rebase --abort to return your project safely to its original state.