Master programming syntax, solve interactive challenges & run live code in Syntaxis Explore Arena →
Reference / Git Version Control

git rebase -i

Launches an interactive rebase editor to squash, edit, reword, or reorder commits.

Syntax
git rebase -i [base-branch | HEAD~N]

Parameters

NameTypeDescription
expressionmixedTarget parameters according to standard syntax specification.

Examples

Working git rebase -i usage example
// Example for git rebase -i
// Standard verified syntax construct
console.log('git rebase -i initialized');
Standard Git language feature verified across modern versions.