67 lines
1.2 KiB
Plaintext
67 lines
1.2 KiB
Plaintext
# 백업 및 임시 파일 (요청하신 부분)
|
|
*.bak
|
|
*.tmp
|
|
*.temp
|
|
*~
|
|
~*
|
|
|
|
# OS 자동 생성 시스템 파일
|
|
.DS_Store
|
|
Thumbs.db
|
|
desktop.ini
|
|
|
|
# 로그 및 런타임 파일
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# 환경 변수 및 비밀번호 (보안 필수)
|
|
.env
|
|
.env.local
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
|
|
# IDE 및 편집기 설정 파일
|
|
.idea/
|
|
.vscode/
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.swp
|
|
|
|
# 1. 먼저 프로젝트 루트의 모든 파일과 폴더를 제외합니다.
|
|
/*
|
|
|
|
# 2. 필수 설정 파일들은 예외로 두어 Git 관리 대상에 포함합니다.
|
|
!.gitignore
|
|
!.env.example
|
|
!docker-compose.yml
|
|
|
|
# 상위폴더 권한허용
|
|
!/web/
|
|
!/web/html/
|
|
/web/html/*
|
|
|
|
# 3. theme 폴더와 그 내부의 모든 것을 포함합니다.
|
|
!/web/html/theme/
|
|
/web/html/theme/*
|
|
!/web/html/theme/*/
|
|
/web/html/theme/basic/
|
|
|
|
# 4. extend 폴더와 그 내부의 모든 것을 포함합니다.
|
|
!/web/html/extend/
|
|
/web/html/extend/*
|
|
!/web/html/extend/*/
|
|
|
|
!/web/conf.d/
|
|
/web/conf.d/*
|
|
!/web/conf.d/*/
|
|
|
|
# (선택) 만약 db 폴더나 web/data 등 docker 실행 파일들이 루트에 있다면
|
|
# 위에서 /* 로 이미 제외되었기 때문에 안전하지만, 명시적으로 적어주어도 좋습니다.
|
|
/db/
|
|
/web/html/data/
|