Next: Information About In-Progress Rebase, Up: Rebasing [Contents][Index]
with-editor-finish
) ¶Finish the current editing session by returning with exit code 0. Git then uses the rebase instructions it finds in the file.
with-editor-cancel
) ¶Cancel the current editing session by returning with exit code 1. Git then forgoes starting the rebase sequence.
git-rebase-show-commit
) ¶Show the commit on the current line in another buffer and select that buffer.
git-rebase-show-or-scroll-up
) ¶Show the commit on the current line in another buffer without selecting that buffer. If the revision buffer is already visible in another window of the current frame, then instead scroll that window up.
git-rebase-show-or-scroll-down
) ¶Show the commit on the current line in another buffer without selecting that buffer. If the revision buffer is already visible in another window of the current frame, then instead scroll that window down.
git-rebase-backward-line
) ¶Move to previous line.
forward-line
) ¶Move to next line.
git-rebase-move-line-up
) ¶Move the current commit (or command) up.
git-rebase-move-line-down
) ¶Move the current commit (or command) down.
git-rebase-reword
) ¶Edit message of commit on current line.
git-rebase-edit
) ¶Stop at the commit on the current line.
git-rebase-squash
) ¶Meld commit on current line into previous commit, and edit message.
git-rebase-fixup
) ¶Meld commit on current line into previous commit, discarding the current commit’s message.
git-rebase-kill-line
) ¶Kill the current action line.
git-rebase-pick
) ¶Use commit on current line.
git-rebase-exec
) ¶Insert a shell command to be run after the proceeding commit.
If there already is such a command on the current line, then edit that instead. With a prefix argument insert a new command even when there already is one on the current line. With empty input remove the command on the current line, if any.
git-rebase-break
) ¶Insert a break action before the current line, instructing Git to return control to the user.
git-rebase-insert
) ¶Read an arbitrary commit and insert it below current line.
git-rebase-undo
) ¶Undo some previous changes. Like undo
but works in read-only
buffers.
Whether to move to next line after changing a line.
Whether to show usage instructions inside the rebase buffer.
Whether confirmation is required to cancel.
When a rebase is performed with the --rebase-merges
option, the
sequence will include a few other types of actions and the following
commands become relevant.
git-rebase-label
) ¶This commands inserts a label action or edits the one at point.
git-rebase-reset
) ¶This command inserts a reset action or edits the one at point. The prompt will offer the labels that are currently present in the buffer.
git-rebase-merge
) ¶The command inserts a merge action or edits the one at point. The
prompt will offer the labels that are currently present in the
buffer. Specifying a message to reuse via -c
or -C
is not
supported; an editor will always be invoked for the merge.
git-rebase-merge-toggle-editmsg
) ¶This command toggles between the -C
and -c
options of the merge
action at point. These options both specify a commit whose message
should be reused. The lower-case variant instructs Git to invoke
the editor when creating the merge, allowing the user to edit the
message.
Next: Information About In-Progress Rebase, Up: Rebasing [Contents][Index]