summaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
authorSzymon Szukalski <szymon@szymonszukalski.com>2026-04-01 16:51:40 +1100
committerSzymon Szukalski <szymon@szymonszukalski.com>2026-04-01 16:51:40 +1100
commit85af41da1b74db47a74bcdfbcad4a4154f3af3b3 (patch)
treed3f417f7369567b25e5bb35761de9277fa68f3ba /config.org
parent99a6eb826380e4f387440a350367589a23f8452f (diff)
Configure note auto-commit workflow
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