Skip to content

Instantly share code, notes, and snippets.

@michaelgwelch
Created December 1, 2020 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelgwelch/8b173b16a4f1a717e19a9bbd8ec04bd9 to your computer and use it in GitHub Desktop.
Save michaelgwelch/8b173b16a4f1a717e19a9bbd8ec04bd9 to your computer and use it in GitHub Desktop.
Git attributes with lfs tracking turned off
# all lfs tracking turned off
# Documents
*.bibtex text diff=bibtex
*.md text
*.tex text diff=tex
*.adoc text
*.textile text
*.mustache text
*.csv text
*.tab text
*.tsv text
*.txt text
*.sql text
# Graphics
# SVG treated as an asset (binary) by default.
*.svg text
# If you want to treat it as binary,
# use the following line instead.
# *.svg binary
# Diagrams
*.mmd text
# 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
# Serialisation
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text
*.drawio text
# Archives
# Text files where line endings should be preserved
*.patch -text
#
# Exclude files from exporting
#
.gitattributes export-ignore
.gitignore export-ignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment