mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-12-27 05:12:33 +01:00
27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
# Normalize line endings for text files
|
|
# https://www.git-scm.com/docs/gitattributes#_end_of_line_conversion
|
|
* text=auto eol=lf linguist-detectable
|
|
doctoc.txt text diff=markdown eol=lf linguist-detectable linguist-language=markdown
|
|
|
|
# Unlikely to be ran under Windows, Linux line endings
|
|
*.{sh,bash,zsh} text diff=bash eol=lf
|
|
|
|
*.bibtex text diff=bibtex eol=lf
|
|
*.css text diff=css eol=lf
|
|
*.html text diff=html eol=lf
|
|
*.{md,markdown} text diff=markdown eol=lf
|
|
*.tex text diff=tex eol=lf
|
|
|
|
# While this repository doesn't currently have anything for Windows, I may
|
|
# use this for reference
|
|
# https://rehansaeed.com/gitattributes-best-practices/#line-endings
|
|
*.{reg,[rR][eE][gG]} text eol=crlf
|
|
*.{bat,[bB][aA][tT]} text eol=crlf
|
|
*.{ahk,[aA][hH][kK]} text eol=crlf
|
|
|
|
# LFS with(/out) locking https://github.com/git-lfs/git-lfs/wiki/File-Locking
|
|
*.png filter=lfs diff=lfs merge=lfs -text lockable
|
|
*.pdf filter=lfs diff=lfs merge=lfs -text lockable
|
|
*.jpg filter=lfs diff=lfs merge=lfs -text lockable
|
|
*.jpeg filter=lfs diff=lfs merge=lfs -text lockable
|