Skip to content
framework9 個の有効ルール2026-09-30 検証済み

Bitrix (PHP) .gitignore テンプレート

Standard Bitrix (PHP) gitignore template from upstream github/gitignore collection. 公式GitHubリポジトリの最新パターンと決定論的に統合され、パッケージディレクトリ、一時ビルド成果物、ローカル環境ファイルをクリーンに保ちます。

スタック統合ジェネレーター

フルジェネレーターで開く
Search for templates
クイック追加:
選択中1
Bitrix (PHP)
選択されたテンプレート (1)
.gitignore
9 ルール
### Bitrix (PHP) ###
# gitignore template for 1C-Bitrix, a PHP-based CMS
# website: https://www.1c-bitrix.ru
#Exclude all of core files
/bitrix/*
#But not the templates and non bitrix components
!/bitrix/templates
!/bitrix/components
/bitrix/components/bitrix
#Exclude bitrix gadgets
!/bitrix/gadgets
/bitrix/gadgets/bitrix
#User can use that directory to store some stuff, but it's not really recommended, just use /local instead of this
!/bitrix/php_interface/
#Exclude database configs
/bitrix/php_interface/dbconn.php
#Exclude default file storage directory
/upload/
25 行•UTF-8
決定論的パイプライン

生ソース: Bitrix (PHP) .gitignore

クローラブルな公式アップストリーム原典
php-bitrix.gitignore•24 lines•UTF-8
# gitignore template for 1C-Bitrix, a PHP-based CMS
# website: https://www.1c-bitrix.ru
#Exclude all of core files
/bitrix/*
#But not the templates and non bitrix components
!/bitrix/templates
!/bitrix/components
/bitrix/components/bitrix
#Exclude bitrix gadgets
!/bitrix/gadgets
/bitrix/gadgets/bitrix
#User can use that directory to store some stuff, but it's not really recommended, just use /local instead of this
!/bitrix/php_interface/
#Exclude database configs
/bitrix/php_interface/dbconn.php
#Exclude default file storage directory
/upload/

主要除外パターンの解説

主要除外ルール

この技術向けに定義された主要な除外パターン。

/bitrix/*!/bitrix/templates!/bitrix/components/bitrix/components/bitrix!/bitrix/gadgets/bitrix/gadgets/bitrix他 +2 件

ソース元とライセンス検証

ライセンス:: CC0-1.0

このファイルをプロジェクトのルートディレクトリに .gitignore というファイル名で配置してください。新規および未追跡ファイルに即座に反映されます。