forked from anton-abyzov/specweave
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
44 lines (38 loc) · 1.1 KB
/
Copy path.gitattributes
File metadata and controls
44 lines (38 loc) · 1.1 KB
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
# Force LF line endings for text files across all platforms
# This prevents Git warnings about CRLF conversion on Windows
# Default: All text files should use LF
* text=auto eol=lf
# Explicitly set LF for key file types
*.md text eol=lf
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.sh text eol=lf
*.ts text eol=lf
*.js text eol=lf
*.tsx text eol=lf
*.jsx text eol=lf
*.css text eol=lf
*.html text eol=lf
*.txt text eol=lf
# Windows-specific files should use CRLF
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Binary files should not be modified
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
*.tar.gz binary
*.tgz binary
# SpecWeave Multi-Developer Merge Strategies
# metadata.json: Use union merge (combine both sides, manual resolve on conflict)
# This reduces conflicts when multiple developers update increment status
.specweave/increments/*/metadata.json merge=union
# Lock files: Always use local version (current developer's state wins)
.specweave/increments/**/package-lock.json merge=ours
.specweave/increments/**/yarn.lock merge=ours