Skip to content

Commit

Permalink
feat: add .gitattributes
Browse files Browse the repository at this point in the history
Add a .gitattributes file to minimize issues when sharing the project
between different Operating Systems

File copied from https://github.com/B-AROL-O/ARNEIS
  • Loading branch information
gmacario committed Nov 17, 2024
1 parent 6301b34 commit 1db4023
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# See https://help.github.com/articles/dealing-with-line-endings/

# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.c text
*.h text

# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf

# Denote all files that are truly binary and should not be modified.
*.pdf binary
*.png binary
*.jpg binary

# EOF

0 comments on commit 1db4023

Please sign in to comment.