-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitattributes
More file actions
43 lines (32 loc) · 1.24 KB
/
.gitattributes
File metadata and controls
43 lines (32 loc) · 1.24 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
###############################################################################
# SOC Framework – .gitattributes
# Prevent Git hell by marking generated files as non-mergeable and ignorable
###############################################################################
# Always use LF endings (GitHub Actions runners use LF)
* text=auto eol=lf
# Treat YAML files as text for diffs
*.yml text
*.yaml text
# Treat JSON as text
*.json text
# Python scripts as text
*.py text
# ----------------------------------------
# IGNORE GENERATED BUILD ARTIFACTS
# ----------------------------------------
# demisto-sdk creates uploadable pack zips
uploadable_packs/* -diff -merge
dist/* -diff -merge export-ignore
# Do not attempt to merge or diff Python bytecode
*.pyc -diff -merge
# Ignore macOS Finder metadata if it ever sneaks in
.DS_Store export-ignore
# Ignore IDE metadata in export tarballs
.idea/ export-ignore
.vscode/ export-ignore
# Do not include test files or sandbox fixtures in GitHub release source bundles
test_data/ export-ignore
tests/ export-ignore
###############################################################################
# END OF FILE
###############################################################################