Function: git-rebase-squish

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

Signature

(git-rebase-squish)

Documentation

Fold current into previous commit, discard previous message and edit current.

This is like git-rebase-squash, except that the other message is kept. The action indicatore shown in the list commits is "fixup -c". 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-squish ()
  "Fold current into previous commit, discard previous message and edit current.
This is like `git-rebase-squash', except that the other message is kept.
The action indicatore shown in the list commits is \"fixup -c\".  If the
region is active, act on all lines touched by the region."
  (interactive)
  (git-rebase-set-action "fixup -c"))