Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Override 'core.autocrlf' while still using Git's built-in heuristics to detect text vs binary.
# Normalize all text files to LF line endings on checkout.
* text=auto eol=lf

# Explicitly declare text files that should always be LF
.asf.yaml text eol=lf
.gitattributes text eol=lf
.gitignore text eol=lf
LICENSE text eol=lf
NOTICE text eol=lf
*.html text eol=lf
*.hpp text eol=lf
*.cpp text eol=lf
*.sk text eol=lf
*.md text eol=lf
*.properties text eol=lf
*.sh text eol=lf
*.xml text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.txt text eol=lf


# Declare files that will always have CRLF line endings on checkout.
# Windows batch scripts strictly require CRLF
*.bat text eol=crlf
*.cmd text eol=crlf

# Explicitly denote all files that are truly binary and should not be modified.
*.jpg binary
*.png binary
*.svg binary

# Declare files that should be ignored when creating an archive of the git repository
.asf.yaml export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.github/ export-ignore
Loading