mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-21 18:59:22 +01:00
Aminda Suomalainen
358838f13d
I imagine lfs being -text means it will not get detected even if I don't specify otherwise
20 lines
859 B
Plaintext
20 lines
859 B
Plaintext
# Normalize line endings for text files
|
|
# https://www.git-scm.com/docs/gitattributes#_end_of_line_conversion
|
|
* text=auto -linguist-detectable
|
|
|
|
# Unlikely to be ran under Windows, Linux line endings
|
|
*.bash text eol=lf -linguist-detectable
|
|
|
|
# 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 -linguist-detectable
|
|
*.{bat,[bB][aA][tT]} text eol=crlf -linguist-detectable
|
|
*.{ahk,[aA][hH][kK]} text eol=crlf -linguist-detectable
|
|
|
|
# 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
|