# Spliting Commit into Multiple

Let's say we want to split the `WIP: Fix blah blah` into multiple commits. We again right click the parent commit `my awesome changes` and start an interactive rebase.

This time we change the `pick` to `e` or `edit`

```
e d310b7c35 WIP: Fix blah blah
pick f3ee84093 WIP: Continue Fix blah blah
pick 07ec28ec2 Fix another stupid bug
```

After saved and closed, the GitExtensions may stop at the Rebase Dialog (which is not very friendly), we can safely close it.

![](/files/-LS9hVEf33UeqapJ8391)

Then it goes back to the main revision grid looks like below, also notice the message at the bottom right `You are in middle of a rebase`:

![](/files/-LS9havk9rg0fBfON8IV)

Now we can do a `Mixed` reset to the parent commit `my awesome changes`, and commit as many commits as we want. Once finished, click the bottom right `You are in middle of a rebase`message and press the `Continue` button to continue the rebase.

Note: there is also an Edit commit menu somewhere in GitExtensions but it is recommended that you use the interactive rebase to get yourself familar with it.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gittutorial.gitbook.io/practical-git-via-gitextensions/rewrite-history/how-to-split-commit-into-multiple.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
