Function: magit-merge-squash
magit-merge-squash is an interactive and natively 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
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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))