forked from thomasthaddeus/DataStructuresAlgorithms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
28 lines (20 loc) · 675 Bytes
/
.gitattributes
File metadata and controls
28 lines (20 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Ensure that all text files have LF line endings in the repository
* text=auto
# Set specific file types to use CRLF line endings
*.bat text eol=crlf
# Lock binary files to avoid merge conflicts
*.docx lock=merge
# Use custom diff settings for .json files
*.json diff=json
# Use union merge strategy for the CHANGELOG file
CHANGELOG.md merge=union
# Treat .jpg files as binary
*.jpg binary
# Treat .txt files as text
*.txt text
# Exclude files from archives (e.g., when using `git archive`)
.gitignore export-ignore
.gitattributes export-ignore
# Exclude files from patches (e.g., when using `git format-patch`)
.gitignore import-ignore
.gitattributes import-ignore