From 85af41da1b74db47a74bcdfbcad4a4154f3af3b3 Mon Sep 17 00:00:00 2001 From: Szymon Szukalski Date: Wed, 1 Apr 2026 16:51:40 +1100 Subject: Configure note auto-commit workflow --- config.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'config.org') diff --git a/config.org b/config.org index a24c983..f1cff0d 100644 --- a/config.org +++ b/config.org @@ -608,6 +608,25 @@ Denote handles naming, metadata, linking, and retrieval. (denote-rename-buffer-mode 1)) #+end_src +** Automatic git commits + +The notes tree can enable =git-auto-commit-mode= through a =.dir-locals.el= +at =~/org/=. The Emacs config keeps the package available and sets the +machine-specific shell command chaining based on the active shell, while the +repo-local behavior lives with the notes tree. + +#+begin_src emacs-lisp + (use-package git-auto-commit-mode + :ensure t + :pin melpa + :commands (git-auto-commit-mode) + :init + (setq gac-shell-and + (if (string-match-p "fish\\'" shell-file-name) + " ; and " + " && "))) +#+end_src + * Gptel workflow This keeps LLM chat available as a small workflow tool inside Emacs. GitHub -- cgit v1.2.3