chore: .gitattributes, .gitmessage 프로젝트 표준 설정 추가
- 줄바꿈 자동 관리 (.gitattributes) - 커밋 메시지 규칙 템플릿 (.gitmessage) 파일: .gitattributes - LF 강제: .py, .sh, .yml, Dockerfile - CRLF 강제: .bat, .ps1 파일: .gitmessage - feat/fix/docs/refactor/chore/perf/test 타입 규칙 - 70자 제목, 파일별 상세 섹션 필수 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
14
.gitattributes
vendored
Normal file
14
.gitattributes
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
# Auto-detect text files and normalize line endings
|
||||
* text=auto
|
||||
|
||||
# Force LF for scripts and source files (Linux에서 실행되는 파일)
|
||||
*.sh text eol=lf
|
||||
*.py text eol=lf
|
||||
*.yml text eol=lf
|
||||
*.yaml text eol=lf
|
||||
*.env* text eol=lf
|
||||
Dockerfile text eol=lf
|
||||
|
||||
# Force CRLF for Windows-only files
|
||||
*.bat text eol=crlf
|
||||
*.ps1 text eol=crlf
|
||||
Reference in New Issue
Block a user