From 2a03585de63152150bc135f146ff0934c46a5a4e Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sat, 5 Aug 2017 13:18:19 -0500 Subject: [PATCH] gitignore everything in /etc/spack except /etc/spack/defaults (#4459) * gitignore everything in /etc/spack except /etc/spack/defaults * Don't ignore subsubdirectories of /etc/spack/defaults --- .gitignore | 5 +++-- 1 file 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