-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitattributes
66 lines (56 loc) · 1.6 KB
/
.gitattributes
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Auto detect text files and perform LF normalization
* text=auto
# --- Language Overrides ---
# Ensure Objective-C files are recognized correctly
*.m linguist-language=Objective-C
*.h linguist-language=Objective-C
*.mm linguist-language=Objective-C++
# Ensure SQL files are counted as code
*.sql linguist-language=SQL
# Ignore `.c` files
*.c linguist-detectable=false
# --- Vendored and Ignored Files ---
# Ignore unnecessary files from language statistics
.DS_Store linguist-vendored
*.plist linguist-vendored
*.strings linguist-vendored
*.sample linguist-vendored
*.json linguist-vendored
*.yaml linguist-vendored
*.gch linguist-vendored
*.o linguist-vendored
*.xcactivitylog linguist-vendored
*.xcsettings linguist-vendored
*.xcent linguist-vendored
*.psd linguist-vendored
# Ignore assets like images and fonts
*.png linguist-vendored
*.jpg linguist-vendored
*.jpeg linguist-vendored
*.tif linguist-vendored
*.tiff linguist-vendored
*.eps linguist-vendored
*.svg linguist-vendored
# Ignore compiled binaries and generated files
*.caf linguist-vendored
*.dia linguist-vendored
*.d linguist-vendored
*.dat linguist-vendored
*.o linguist-vendored
*.db linguist-vendored
*.der linguist-vendored
# Ignore localization files
*.lproj/* linguist-vendored
*.xib linguist-vendored
*.storyboard linguist-vendored
# --- Treat Text and Source Files as Code ---
# Mark typical text and source files
*.txt text
*.md text
*.yaml text
# --- Exclude Build and IDE Artifacts ---
# Ignore Xcode user and build settings
*.xcuserdata linguist-vendored
*.xcbuild linguist-vendored
*.xcworkspace linguist-vendored
*.xcschemes linguist-vendored