felipecrv
felipecrv

Reputation: 2021

How to edit pending commands during an interactive git rebase?

After editing some commits during a rebase I changed my mind about what I want to do to the following commits. How do I edit the remaining commands?

Upvotes: 4

Views: 597

Answers (1)

Dan Lowe
Dan Lowe

Reputation: 56508

You can use the git rebase --edit-todo command.

Description from git-rebase(1):

Edit the todo list during an interactive rebase.

And after the edit, continue the rebase using git rebase --continue.

Upvotes: 7

Related Questions