rebase_todo
Read or replace remaining git rebase steps mid-run, so you can reorder or drop commits safely without losing planned work.
Instructions
Read the steps a running rebase has left, or replace them.
Worth having because the need shows up mid-run: a fixup turns out to
depend on a commit scheduled after it, and the fix is to move one line
rather than to abandon thirty resolved conflicts and start again.
Replacing the list can drop commits exactly as writing one badly can, so
the same check applies: a commit in the remaining steps and not in the
replacement is refused unless force. Lines that name no commit -- exec
above all -- are counted too, and dropping every exec silently turns off
the per-commit check, so that is called out rather than assumed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | . | |
| todo | No | ||
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dropped | Yes | ||
| guidance | Yes | ||
| remaining | Yes |