Skip to content

Commit

Permalink
Added gitattributes to standarize line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueAndi committed Jun 4, 2024
1 parent 6f92bf4 commit ee02dba
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Default behaviour
* text=crlf

# All text files are CRLF
*.txt text eol=crlf
*.h text eol=crlf
*.c text eol=crlf
*.cpp text eol=crlf
*.hpp text eol=crlf
*.py text eol=crlf
*.json text eol=crlf
*.md text eol=crlf
*.puml text eol=crlf
*.plantuml text eol=crlf
*.ini text eol=crlf
*.bat text eol=crlf
*.yml text eol=crlf
*.csv text eol=crlf

# Webots files are generated by a tool as LF
*.proto text eol=lf
*.wbt text eol=lf

# Doxygen files are generated by a tool as LF
doc/doxygen/* text eol=lf

# Images should be treated as binary
*.png binary
*.jepg binary
*.jpg binary

# Multimedia should be treated as binary
*.wav binary
*.mp4 binary

# Other files that should be treated as binary
*.ods binary

0 comments on commit ee02dba

Please sign in to comment.