Function: magit-merge-squash
magit-merge-squash is an autoloaded, interactive and byte-compiled
function defined in magit-merge.el.
Signature
(magit-merge-squash REV)
Documentation
Squash commit REV into the current branch; don't create a commit.
(git merge --squash REV)
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-merge.el
;;;###autoload
(defun magit-merge-squash (rev)
"Squash commit REV into the current branch; don't create a commit.
\n(git merge --squash REV)"
(interactive (list (magit-read-other-branch-or-commit "Squash")))
(magit-merge-assert)
(magit-run-git-async "merge" "--squash" rev))