-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
40 lines (29 loc) · 855 Bytes
/
.gitattributes
File metadata and controls
40 lines (29 loc) · 855 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
29
30
31
32
33
34
35
36
37
38
39
40
# Git attributes configuration for cross-platform compatibility
# Ensure consistent line endings for all files
# Set default behavior to auto-detect text files and normalize line endings
* text=auto
* text eol=lf
*.bicep text eol=lf
# Shell scripts must have Unix-style LF line endings
# This prevents issues when running on Linux (CI/CD, containers, etc.)
*.sh text eol=lf
# PowerShell scripts can use Windows-style CRLF line endings
*.ps1 text eol=crlf
# Bicep files should use LF for consistency
*.bicep text eol=lf
# YAML files should use LF for consistency
*.yml text eol=lf
*.yaml text eol=lf
# JSON files should use LF for consistency
*.json text eol=lf
# Markdown files can use auto
*.md text
# Binary files should not be modified
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.exe binary
*.dll binary
*.zip binary