practicalli / spacemacs

Content for the book - Clojure Development with Spacemacs
https://practical.li/spacemacs
Creative Commons Attribution Share Alike 4.0 International
110 stars 33 forks source link

Default git commit message #209

Open practicalli-johnny opened 4 years ago

practicalli-johnny commented 4 years ago

git-commit-setup-hook can be used to prepare the commit message buffer.

(defun practicalli/git-commit-message-prepare ()
  (insert "#123"))

(add-hook 'git-commit-setup-hook 'practicalli/git-commit-message-prepare)

Consider including recommended Git message form