135 lines
3.3 KiB
Plaintext
135 lines
3.3 KiB
Plaintext
# Sources
|
|
*.c text diff=c
|
|
*.cc text diff=cpp
|
|
*.cxx text diff=cpp
|
|
*.cpp text diff=cpp
|
|
*.c++ text diff=cpp
|
|
*.hpp text diff=cpp
|
|
*.h text diff=c
|
|
*.h++ text diff=cpp
|
|
*.hh text diff=cpp
|
|
|
|
# Compiled Object files
|
|
*.slo binary
|
|
*.lo binary
|
|
*.o binary
|
|
*.obj binary
|
|
|
|
# Precompiled Headers
|
|
*.gch binary
|
|
*.pch binary
|
|
|
|
# Compiled Dynamic libraries
|
|
*.so binary
|
|
*.dylib binary
|
|
*.dll binary
|
|
|
|
# Compiled Static libraries
|
|
*.lai binary
|
|
*.la binary
|
|
*.a binary
|
|
*.lib binary
|
|
|
|
# Executables
|
|
*.exe binary
|
|
*.out binary
|
|
*.app binary
|
|
# Common settings that generally should always be used with your language specific settings
|
|
|
|
# Auto detect text files and perform LF normalization
|
|
# https://www.davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
|
|
* text=auto
|
|
|
|
#
|
|
# The above will handle all files NOT found below
|
|
#
|
|
|
|
# Documents
|
|
*.bibtex text diff=bibtex
|
|
*.doc diff=astextplain
|
|
*.DOC diff=astextplain
|
|
*.docx diff=astextplain
|
|
*.DOCX diff=astextplain
|
|
*.dot diff=astextplain
|
|
*.DOT diff=astextplain
|
|
*.pdf diff=astextplain
|
|
*.PDF diff=astextplain
|
|
*.rtf diff=astextplain
|
|
*.RTF diff=astextplain
|
|
*.md text
|
|
*.tex text diff=tex
|
|
*.adoc text
|
|
*.textile text
|
|
*.mustache text
|
|
*.csv text
|
|
*.tab text
|
|
*.tsv text
|
|
*.txt text
|
|
*.sql text
|
|
|
|
# Treat all Go files in this repo as binary, with no git magic updating
|
|
# line endings. Windows users contributing to Go will need to use a
|
|
# modern version of git and editors capable of LF line endings.
|
|
*.go -text diff=golang
|
|
*.tmpl linguist-language=Go HTML Template
|
|
|
|
*.vim linguist-language=Vim Script
|
|
*.vimrc linguist-language=Vim Script
|
|
.*.vimrc linguist-language=Vim Script
|
|
.vimrc linguist-language=Vim Script
|
|
vimrc linguist-language=Vim Script
|
|
|
|
*.dhall linguist-language=Dhall diff=Dhall syntax=Haskell
|
|
# *.dhall linguist-language=Dhall diff=Haskell
|
|
|
|
*.star linguist-language=Starlark diff=Python syntax=Python
|
|
*.starlark linguist-language=Starlark diff=Python syntax=Python
|
|
|
|
# Scripts
|
|
*.bash text eol=lf
|
|
*.fish text eol=lf
|
|
*.sh text eol=lf
|
|
# These are explicitly windows files and should use crlf
|
|
*.bat text eol=crlf
|
|
*.cmd text eol=crlf
|
|
*.ps1 text eol=crlf
|
|
|
|
# Text files where line endings should be preserved
|
|
*.patch -text
|
|
|
|
#
|
|
# Exclude files from exporting
|
|
#
|
|
|
|
.gitattributes export-ignore
|
|
.gitignore export-ignore
|
|
|
|
# Java sources
|
|
*.java text diff=java
|
|
*.gradle text diff=java
|
|
*.gradle.kts text diff=java
|
|
|
|
# These files are text and should be normalized (Convert crlf => lf)
|
|
*.css text diff=css
|
|
*.df text
|
|
*.htm text diff=html
|
|
*.html text diff=html
|
|
*.js text
|
|
*.jsp text
|
|
*.jspf text
|
|
*.jspx text
|
|
*.properties text
|
|
*.tld text
|
|
*.tag text
|
|
*.tagx text
|
|
*.xml text
|
|
|
|
# These files are binary and should be left untouched
|
|
# (binary is a macro for -text -diff)
|
|
*.class binary
|
|
*.dll binary
|
|
*.ear binary
|
|
*.jar binary
|
|
*.so binary
|
|
*.war binary
|