Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensures file endings are correct in text file types. Include common image, text, and MATLAB extensions with explicit declarations of text/binary as applicable.
- Loading branch information
1 parent
30ee58a
commit 218f24a
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# | ||
# The above will handle all files NOT found below | ||
# | ||
|
||
##--------------------------------------------------- | ||
# Common .gitattributes | ||
##--------------------------------------------------- | ||
|
||
# Documents | ||
# ============ | ||
*.txt text | ||
*.md text | ||
|
||
# Graphics | ||
# ============ | ||
*.png binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.gif binary | ||
*.tif binary | ||
*.tiff binary | ||
*.ico binary | ||
*.svg text | ||
*.eps binary | ||
|
||
|
||
##--------------------------------------------------- | ||
# Basic .gitattributes for a MATLAB repo | ||
##--------------------------------------------------- | ||
|
||
# Source files | ||
# ============ | ||
*.m text | ||
*.prf text | ||
|
||
# Binary files | ||
# ============ | ||
*.p binary | ||
*.mex* binary | ||
*.fig binary | ||
*.mat binary | ||
*.mdl binary | ||
*.slx binary |