[git] Update instructions for global-git-commit-mode

This commit is contained in:
Maximilian Wolff 2021-06-09 11:37:40 +02:00
parent 120ce6959d
commit af193f769f
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
1 changed files with 4 additions and 1 deletions

View File

@ -126,10 +126,13 @@ To enable =magit-todos= plugin, add the following to your =dotspacemacs/user-con
** Global git commit mode
Spacemacs can be used as the =$EDITOR= (or =$GIT_EDITOR=) for editing git
commits messages. To enable this you have to add the following line to your
commits messages. This requires the entire library to be loaded immediately
which will cost some time, disable it if you run into performance issues.
To enable it you have to add the following lines to your
=dotspacemacs/user-config=:
#+BEGIN_SRC emacs-lisp
(require 'git-commit)
(global-git-commit-mode t)
#+END_SRC