From 584ddb52a960972c4b9ac2f42735251a925b0cd4 Mon Sep 17 00:00:00 2001 From: larstvei Date: Thu, 5 Mar 2026 09:38:00 +0100 Subject: [PATCH] Ignore everything except some explicitly listed files Different packages may place files into the emacs-directory. I think it is safe to assume that this repo won't have a frequent need for other files, so let's just ignore everything but the files that we know is going to be around forever. --- .gitignore | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 459bca6..91c7655 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,5 @@ -.mc-lists.el -auto-save-list/ -autosaves -custom.el -eln-cache/ -elpa -init.elc -projectile-bookmarks.eld -recentf -smex-items -transient/ +* +!LICENSE.md +!README.org +!init.el +!init.org