Function: git-rebase-squash

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

Signature

(git-rebase-squash)

Documentation

Fold commit on current line into previous commit, edit combined message.

If the region is active, act on all lines touched by the region.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/git-rebase.el
(defun git-rebase-squash ()
  "Fold commit on current line into previous commit, edit combined message.
If the region is active, act on all lines touched by the region."
  (interactive)
  (git-rebase-set-action "squash"))