framework32 個の有効ルール2026-09-30 検証済み
Drupal7 (PHP) .gitignore テンプレート
Standard Drupal7 (PHP) gitignore template from upstream github/gitignore collection. 公式GitHubリポジトリの最新パターンと決定論的に統合され、パッケージディレクトリ、一時ビルド成果物、ローカル環境ファイルをクリーンに保ちます。
スタック統合ジェネレーター
フルジェネレーターで開く/
Search for templates
クイック追加:
選択中1
Drupal7 (PHP)
選択されたテンプレート (1)
Drupal7 (PHP)
framework
Standard Drupal7 (PHP) gitignore template from upstream github/gitignore collection
#php-drupal7#drupal7
.gitignore
32 ルール•1 テンプレート
### Drupal7 (PHP) #### gitignore template for Drupal 7 projects## It is recommended that you use `Drupal.gitignore` as this is the latest version # Ignore configuration files that may contain sensitive information.sites/*/*settings*.phpsites/example.sites.php # Ignore paths that contain generated content.files/sites/*/filessites/*/privatesites/*/translations # Ignore default text filesrobots.txt/CHANGELOG.txt/COPYRIGHT.txt/INSTALL*.txt/LICENSE.txt/MAINTAINERS.txt/UPGRADE.txt/README.txtsites/README.txtsites/all/libraries/README.txtsites/all/modules/README.txtsites/all/themes/README.txt # Ignore everything but the "sites" folder ( for non core developer ).htaccessweb.configauthorize.phpcron.phpindex.phpinstall.phpupdate.phpxmlrpc.php/includes/misc/modules/profiles/scripts/themes 45 行•UTF-8•LF
決定論的パイプライン
生ソース: Drupal7 (PHP) .gitignore
クローラブルな公式アップストリーム原典php-drupal7.gitignore•44 lines•UTF-8
# gitignore template for Drupal 7 projects## It is recommended that you use `Drupal.gitignore` as this is the latest version # Ignore configuration files that may contain sensitive information.sites/*/*settings*.phpsites/example.sites.php # Ignore paths that contain generated content.files/sites/*/filessites/*/privatesites/*/translations # Ignore default text filesrobots.txt/CHANGELOG.txt/COPYRIGHT.txt/INSTALL*.txt/LICENSE.txt/MAINTAINERS.txt/UPGRADE.txt/README.txtsites/README.txtsites/all/libraries/README.txtsites/all/modules/README.txtsites/all/themes/README.txt # Ignore everything but the "sites" folder ( for non core developer ).htaccessweb.configauthorize.phpcron.phpindex.phpinstall.phpupdate.phpxmlrpc.php/includes/misc/modules/profiles/scripts/themes 主要除外パターンの解説
環境変数・シークレット情報
API キー、パスワード、接続文字列を含むローカル環境変数ファイル(.env)の流出を防止します。
authorize.php
ソース元とライセンス検証
ライセンス:: CC0-1.0
このファイルをプロジェクトのルートディレクトリに .gitignore というファイル名で配置してください。新規および未追跡ファイルに即座に反映されます。