Add Magit commit -S option

This commit is contained in:
2026-03-06 19:00:46 +00:00
parent 396beb4262
commit 05127bceae

View File

@@ -1094,6 +1094,16 @@
leave it at that for now as I'm not sure precisely what behaviour leave it at that for now as I'm not sure precisely what behaviour
I'd want. I'd want.
Magit also doesn't seem to provide a means of specifying the =-S=
flag for commit signing (only =--gpg-sign==) so I need to add that:
#+begin_src emacs-lisp
(eval-after-load 'magit
'(progn
(transient-append-suffix 'magit-commit "-C"
'("-S" "Sign commit" "-S"))))
#+end_src
** Docker ** Docker
I use docker quite a lot, unfortunately, so it's nice to be able to I use docker quite a lot, unfortunately, so it's nice to be able to
spawn containers etc from Emacs. The =docker= package provides a spawn containers etc from Emacs. The =docker= package provides a