From 12f7b1065df5b379f75d2da963739b8712f519eb Mon Sep 17 00:00:00 2001 From: paan Date: Tue, 22 Feb 2022 16:53:51 +0800 Subject: [PATCH] docker-compose.yaml gitignore --- .gitignore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index e69de29..e112405 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,7 @@ +# First, ignore everything +* +# Now, whitelist anything that's a directory +!*/ +# And all the file types you're interested in. +!**/*docker-compose.yaml* +!**/*docker-compose.yml* \ No newline at end of file