Variable: git-commit-mode

git-commit-mode is a buffer-local variable defined in git-commit.el.

Documentation

Non-nil if Git-Commit mode is enabled.

Use the command git-commit-mode(var)/git-commit-mode(fun) to change this variable.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/git-commit.el
(define-minor-mode git-commit-mode
  "Auxiliary minor mode used when editing Git commit messages.
This mode is only responsible for setting up some key bindings.
Don't use it directly; instead enable `global-git-commit-mode'.
Variable `git-commit-major-mode' controls which major-mode is
used."
  :lighter "")