-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitattributes
More file actions
126 lines (102 loc) · 3.25 KB
/
Copy path.gitattributes
File metadata and controls
126 lines (102 loc) · 3.25 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# =============================================================================
# Git Attributes 설정
# =============================================================================
# 이 파일은 Git이 파일을 처리하는 방식을 정의합니다.
# 주요 목적: OS별 line ending (CRLF vs LF) 차이로 인한 불필요한 변경사항 방지
# =============================================================================
# -----------------------------------------------------------------------------
# 기본 설정: 모든 텍스트 파일
# -----------------------------------------------------------------------------
# text=auto: Git이 자동으로 텍스트 파일을 감지하고 line ending을 정규화
# eol=lf: 저장소에는 LF(\n)로 저장, Windows에서 checkout시 autocrlf 설정에 따라 변환
* text=auto eol=lf
# -----------------------------------------------------------------------------
# 소스 코드: LF 강제 (Linux/Mac 서버 환경과 일치)
# -----------------------------------------------------------------------------
# JavaScript/TypeScript
*.js text eol=lf
*.jsx text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.mjs text eol=lf
*.cjs text eol=lf
# Python
*.py text eol=lf
*.pyw text eol=lf
# Shell scripts (Linux/Mac에서 실행될 수 있으므로 반드시 LF)
*.sh text eol=lf
*.bash text eol=lf
# -----------------------------------------------------------------------------
# 설정 파일: LF 강제
# -----------------------------------------------------------------------------
# YAML/JSON
*.yml text eol=lf
*.yaml text eol=lf
*.json text eol=lf
# Docker
Dockerfile text eol=lf
*.dockerfile text eol=lf
docker-compose*.yml text eol=lf
.dockerignore text eol=lf
# Terraform
*.tf text eol=lf
*.tfvars text eol=lf
# Kubernetes
*.yaml text eol=lf
# 환경 변수
.env* text eol=lf
*.env text eol=lf
# Git 설정
.gitignore text eol=lf
.gitattributes text eol=lf
# -----------------------------------------------------------------------------
# 문서: LF 강제
# -----------------------------------------------------------------------------
*.md text eol=lf
*.txt text eol=lf
# -----------------------------------------------------------------------------
# 웹 관련 파일: LF 강제
# -----------------------------------------------------------------------------
*.html text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.svg text eol=lf
# -----------------------------------------------------------------------------
# 바이너리 파일: line ending 변환하지 않음
# -----------------------------------------------------------------------------
# 이미지
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.webp binary
# 폰트
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.eot binary
# 압축 파일
*.zip binary
*.tar binary
*.gz binary
*.tgz binary
# 기타 바이너리
*.pdf binary
*.pyc binary
*.pyo binary
*.so binary
*.dylib binary
*.dll binary
*.exe binary
# -----------------------------------------------------------------------------
# Package manager 잠금 파일: merge 충돌 방지
# -----------------------------------------------------------------------------
# npm
package-lock.json binary
pnpm-lock.yaml binary
yarn.lock binary
# Python
poetry.lock binary
Pipfile.lock binary