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