From a3a92cbbe12f55e250a8000c606d69b4823ea6c3 Mon Sep 17 00:00:00 2001 From: "Santiago M. Mola" Date: Sat, 25 Jul 2020 01:37:03 +0200 Subject: [PATCH] add .gitattributes (language detection) - add language detection for Dockerfile templates, enabling GitHub to apply proper syntax highlighting. - mark directories as generated files, so they are all collapsed in diffs (commits and PRs), making it easier to spot the change to the actual source files. --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..5ff455a439 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*Dockerfile* linguist-language=Dockerfile +*.*/** linguist-generated