diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6d25634 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,32 @@ +# Die Anwendung laeuft auf Linux-Servern und im Container. Zeilenenden +# deshalb immer als LF ablegen UND auschecken - sonst bekommt z. B. +# docker/entrypoint.sh beim Klonen unter Windows CRLF und der Container +# startet nicht ("/bin/sh^M: bad interpreter"). +* text=auto eol=lf + +*.php text eol=lf +*.sh text eol=lf +*.css text eol=lf +*.js text eol=lf +*.json text eol=lf +*.md text eol=lf +*.svg text eol=lf +*.xml text eol=lf +*.yml text eol=lf +*.ini text eol=lf +.htaccess text eol=lf +.env.example text eol=lf +Dockerfile text eol=lf + +# Binaerdateien nicht anfassen +*.png binary +*.jpg binary +*.ico binary +*.sqlite binary + +# Beim Erstellen eines Release-Archivs nicht mitliefern +/tests export-ignore +/.github export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/phpunit.xml export-ignore