summaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
Diffstat (limited to 'config.org')
-rw-r--r--config.org19
1 files changed, 19 insertions, 0 deletions
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