Skip to content

Commit

Permalink
.gitattributes: Config to avoid line ending issues with Win and Linux.
Browse files Browse the repository at this point in the history
Signed-off-by: jaenrig-ifx <enriquezgarcia.external@infineon.com>
  • Loading branch information
jaenrig-ifx committed Oct 3, 2024
1 parent b10b889 commit f6abada
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Configuration to handle line endings for working with Windows and Unix
# Reference:
# https://help.github.com/articles/dealing-with-line-endings/
# https://git-scm.com/docs/gitattributes#_checking_out_and_checking_in

* text=auto

*.c text
*.cpp text
*.h text
*.hpp text
*.ino text
*.py text


*.sh text eol=lf
*.bat text eol=crlf

0 comments on commit f6abada

Please sign in to comment.