summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore5
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 1a95d49377..49bc74063e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,8 +8,9 @@
*~
.DS_Store
.idea
-/etc/spack/licenses
-/etc/spack/*.yaml
+# Ignore everything in /etc/spack except /etc/spack/defaults
+/etc/spack/*
+!/etc/spack/defaults
/etc/spackconfig
/share/spack/dotkit
/share/spack/modules