Function: git-rebase-break

git-rebase-break is an interactive and byte-compiled function defined in git-rebase.el.

Signature

(git-rebase-break &optional ARG)

Documentation

Add break action at point.

If there is a commented break action present, remove the comment. If the current line already contains a break action, add another break action only if a prefix argument is given.

A break action can be used to interrupt the rebase at the specified point. It is particularly useful for pausing before the first commit in the sequence. For other cases, the equivalent behavior can be achieved with git-rebase-edit.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/git-rebase.el
(defun git-rebase-break (&optional arg)
  "Add break action at point.

If there is a commented break action present, remove the comment.
If the current line already contains a break action, add another
break action only if a prefix argument is given.

A break action can be used to interrupt the rebase at the
specified point.  It is particularly useful for pausing before
the first commit in the sequence.  For other cases, the
equivalent behavior can be achieved with `git-rebase-edit'."
  (interactive "P")
  (git-rebase-set-bare-action "break" arg))