gist/.gitattributes

21 lines
852 B
Plaintext
Raw Normal View History

2023-02-12 10:19:50 +01:00
# Normalize line endings for text files
# https://www.git-scm.com/docs/gitattributes#_end_of_line_conversion
2023-02-26 18:01:13 +01:00
* text=auto eol=lf linguist-detectable
2023-06-22 10:24:43 +02:00
doctoc.txt text eol=lf linguist-detectable linguist-language=markdown
# Unlikely to be ran under Windows, Linux line endings
2023-02-21 09:41:52 +01:00
*.bash text 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
2023-02-21 09:41:52 +01:00
*.{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
2023-02-21 09:41:52 +01:00
*.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