diff --git a/.gitattributes b/.gitattributes
index 248786ef402187d53deafd441439505d188a842f..8027e271f2590997b0e5f57fa016818db2479f55 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -3,6 +3,8 @@
 
 /GitSetup        export-ignore
 /SetupForDevelopment.sh  export-ignore  eol=lf
+/clang-format.bash export-ignore eol=lf
+/.clang-format   export-ignore
 
 /CONTRIBUTING.rst conflict-marker-size=78