framework9 active rulesVerified 2026-09-30
Bitrix (PHP) .gitignore Template
Standard Bitrix (PHP) gitignore template from upstream github/gitignore collection. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.
Interactive Stack Generator
Open in Full Generator/
Search for templates
Quick add:
Selected1
Bitrix (PHP)
Selected Templates (1)
Bitrix (PHP)
framework
Standard Bitrix (PHP) gitignore template from upstream github/gitignore collection
#php-bitrix#bitrix
.gitignore
### 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/ 9 rules1 template25 linesUTF-8LF
Deterministic
Raw Bitrix (PHP) .gitignore
Crawlable upstream source templatephp-bitrix.gitignore24 linesUTF-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/ Key Pattern Breakdown
Core Ignored Rules
Primary upstream ignore rules defined for this technology.
/bitrix/*!/bitrix/templates!/bitrix/components/bitrix/components/bitrix!/bitrix/gadgets/bitrix/gadgets/bitrix+2 more
Source & Verification
Source:: GitHub gitignore (main)
License:: CC0-1.0
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.