Answer the question
In order to leave comments, you need to log in
How to correctly exclude subfolders of Bitrix using gitignore?
Hello.
I can't figure out what the error is when excluding folders in gitignore
Here is the whole short code:
# core
/bitrix/*
/bitrix/php_interface/dbconn.php
/bitrix/components/bitrix/
/bitrix/templates/
!/bitrix/templates/bitrix24/
!/bitrix/php_interface/
!/bitrix/components/
# core
/bitrix/*
/bitrix/php_interface/dbconn.php
/bitrix/components/bitrix/
#/bitrix/templates/
!/bitrix/templates/
!/bitrix/php_interface/
!/bitrix/components/
Answer the question
In order to leave comments, you need to log in
/*
!/bitrix
/bitrix/*
!/bitrix/templates
/bitrix/templates/*
!/bitrix/templates/bitrix24
I use the local folder, and in gitignore I have the entire Bitrix folder!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question