mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Merge pull request #2199 from ravage84/gitattributes
Added a .gitattributes file to set the line ending behavior when checkin...
This commit is contained in:
commit
f700ac0909
1 changed files with 33 additions and 0 deletions
33
.gitattributes
vendored
Normal file
33
.gitattributes
vendored
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Define the line ending behavior of the different file extensions
|
||||||
|
# Set default behaviour, in case users don't have core.autocrlf set.
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# Explicitly declare text files we want to always be normalized and converted
|
||||||
|
# to native line endings on checkout.
|
||||||
|
*.php text
|
||||||
|
*.default text
|
||||||
|
*.ctp text
|
||||||
|
*.sql text
|
||||||
|
*.md text
|
||||||
|
*.mo text
|
||||||
|
*.po text
|
||||||
|
*.js text
|
||||||
|
*.css text
|
||||||
|
*.ini text
|
||||||
|
*.properties text
|
||||||
|
*.txt text
|
||||||
|
*.xml text
|
||||||
|
*.yml text
|
||||||
|
.htaccess text
|
||||||
|
|
||||||
|
# Declare files that will always have CRLF line endings on checkout.
|
||||||
|
*.bat eol=crlf
|
||||||
|
|
||||||
|
# Declare files that will always have LF line endings on checkout.
|
||||||
|
*.pem eol=lf
|
||||||
|
|
||||||
|
# Denote all files that are truly binary and should not be modified.
|
||||||
|
*.png binary
|
||||||
|
*.jpg binary
|
||||||
|
*.gif binary
|
||||||
|
*.ico binary
|
Loading…
Reference in a new issue