- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
Latest commit
16 lines (12 loc) · 659 Bytes
/
Copy path.gitattributes
File metadata and controls
16 lines (12 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# See: https://docs.github.com/en/get-started/git-basics/configuring-git-to-handle-line-endings#example for an example
# Set the default behavior, in case people don't have core.autocrlf set.
*text=auto
# Declare that Markdown files will always have LF line endings on checkout.
# I set this because Obsidian in Windows uses LF, while Windows typically uses CRLF.
*.mdtexteol=lf
# Declare files that JSON files will always change to LF on checkout.
*.jsontext=auto
# Denote all files that are truly binary and should not be modified.
# See this for more info: https://git-scm.com/docs/gitattributes#_marking_files_as_binary
*.pngbinary
*.jpgbinary