Skip to content
Closed
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
72 changes: 72 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Auto detect text files and perform LF normalization
* text=auto eol=lf

## C++ Specific ##
# Sources
*.c text diff=cpp eol=lf
*.cc text diff=cpp eol=lf
*.cxx text diff=cpp eol=lf
*.cpp text diff=cpp eol=lf
*.c++ text diff=cpp eol=lf
*.hpp text diff=cpp eol=lf
*.h text diff=cpp eol=lf
*.h++ text diff=cpp eol=lf
*.hh text diff=cpp eol=lf

## Other Languages
*.rb text diff=ruby

## Custom ##
# ConnectivityNodes Specifics
*.[uU][pP][gG] binary
*.[bB][iI][nN] binary
*.[dD][uU][pP] binary

# Certificates
*.pem text eol=crlf

# Documents
*.[dD][oO][cC] diff=astextplain
*.[dD][oO][cC][xX] diff=astextplain
*.[dD][oO][tT] diff=astextplain
*.[pP][dD][fF] diff=astextplain
*.[rR][tT][fF] diff=astextplain
*.[pP][dD][fF] diff=astextplain
*.[mM][dD] text diff=markdown
*.[mM][dD][xX] text diff=markdown
*.[aA][dD][oO][cC] text
*.[cC][sS][vV] text eol=crlf
*.[tT][sS][vV] text
*.[tT][xX][tT] text

# Graphics
*.[pP][nN][gG] binary
*.[jJ][pP][gG] binary
*.[jJ][pP][eE][gG] binary
*.[gG][iI][fF] binary
*.[tT][iI][fF] binary
*.[tT][iI][fF][fF] binary
*.[iI][cC][oO] binary
*.[sS][vV][gG] binary

# Windows Scripts
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf

# Web
*.css text eol=lf diff=css
*.htm text eol=lf diff=html
*.html text eol=lf diff=html

# Archives
*.7z binary
*.gz binary
*.tar binary
*.tgz binary
*.zip binary

# Export Ignores
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore