Skip to content
framework49개 활성 규칙2026-09-30 검증 완료

Drupal .gitignore 템플릿

Standard Drupal gitignore template from upstream github/gitignore collection. GitHub 공식 리포지토리 패턴과 결정론적으로 병합되어 의존성 폴더, 빌드 결과물, 로컬 환경 변수 파일로부터 저장소를 깨끗하게 지켜줍니다.

인터랙티브 스택 생성기

전체 생성기에서 열기
Search for templates
빠른 추가:
선택됨1
Drupal
선택된 템플릿 (1)
.gitignore
49개 규칙
### Drupal ###
# gitignore template for Drupal 8 projects
#
# earlier versions of Drupal are tracked in `community/PHP/`
#
# follows official upstream conventions:
# https://www.drupal.org/docs/develop/using-composer
# Ignore configuration files that may contain sensitive information
/web/sites/*/*settings*.php
/web/sites/*/*services*.yml
# Ignore paths that may contain user-generated content
/web/sites/*/files
/web/sites/*/public
/web/sites/*/private
/web/sites/*/files-public
/web/sites/*/files-private
# Ignore paths that may contain temporary files
/web/sites/*/translations
/web/sites/*/tmp
/web/sites/*/cache
# Ignore drupal core (if not versioning drupal sources)
/web/vendor
/web/core
/web/modules/README.txt
/web/modules/contrib
/web/profiles/README.txt
/web/profiles/contrib
/web/sites/development.services.yml
/web/sites/example.settings.local.php
/web/sites/example.sites.php
/web/sites/README.txt
/web/themes/README.txt
/web/themes/contrib
/web/.csslintrc
/web/.editorconfig
/web/.eslintignore
/web/.eslintrc.json
/web/.gitattributes
/web/.htaccess
/web/.ht.router.php
/web/autoload.php
/web/composer.json
/web/composer.lock
/web/example.gitignore
/web/index.php
/web/INSTALL.txt
/web/LICENSE.txt
/web/README.txt
/web/robots.txt
/web/update.php
/web/web.config
# Ignore vendor dependencies and scripts
/vendor
/composer.phar
/composer
/robo.phar
/robo
/drush.phar
/drush
/drupal.phar
/drupal
67줄•UTF-8
결정론적 파이프라인

Drupal .gitignore 원본 소스

크롤링 가능한 공식 업스트림 원본 템플릿
drupal.gitignore•66 lines•UTF-8
# gitignore template for Drupal 8 projects
#
# earlier versions of Drupal are tracked in `community/PHP/`
#
# follows official upstream conventions:
# https://www.drupal.org/docs/develop/using-composer
# Ignore configuration files that may contain sensitive information
/web/sites/*/*settings*.php
/web/sites/*/*services*.yml
# Ignore paths that may contain user-generated content
/web/sites/*/files
/web/sites/*/public
/web/sites/*/private
/web/sites/*/files-public
/web/sites/*/files-private
# Ignore paths that may contain temporary files
/web/sites/*/translations
/web/sites/*/tmp
/web/sites/*/cache
# Ignore drupal core (if not versioning drupal sources)
/web/vendor
/web/core
/web/modules/README.txt
/web/modules/contrib
/web/profiles/README.txt
/web/profiles/contrib
/web/sites/development.services.yml
/web/sites/example.settings.local.php
/web/sites/example.sites.php
/web/sites/README.txt
/web/themes/README.txt
/web/themes/contrib
/web/.csslintrc
/web/.editorconfig
/web/.eslintignore
/web/.eslintrc.json
/web/.gitattributes
/web/.htaccess
/web/.ht.router.php
/web/autoload.php
/web/composer.json
/web/composer.lock
/web/example.gitignore
/web/index.php
/web/INSTALL.txt
/web/LICENSE.txt
/web/README.txt
/web/robots.txt
/web/update.php
/web/web.config
# Ignore vendor dependencies and scripts
/vendor
/composer.phar
/composer
/robo.phar
/robo
/drush.phar
/drush
/drupal.phar
/drupal

주요 제외 패턴 해설

의존성 및 패키지 폴더

패키지 매니저를 통해 언제든 복원 가능한 외부 라이브러리 및 벤더 디렉터리를 제외합니다.

/web/vendor/vendor

빌드 및 컴파일 산출물

컴파일 과정에서 생성되는 바이나리, 중간 오브젝트 파일, 출력 결과물 폴더를 제외합니다.

/web/.ht.router.php

캐시 및 임시 작업 파일

컴파일러 캐시, 테스트 커버리지 보고서, 임시 작업 스크래치 파일을 제외하여 저장소를 가볍게 유지합니다.

/web/sites/*/tmp/web/sites/*/cache

출처 및 라이선스 검증

라이선스:: CC0-1.0

이 파일을 프로젝트 루트 디렉터리에 .gitignore라는 이름으로 저장하세요. 새로 추가되거나 아직 추적되지 않은 파일에 즉시 적용됩니다.