-
-
Save EscApp2/f163c4b2a08acc23eefdc565d7dc3363 to your computer and use it in GitHub Desktop.
Rules for .gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Если исключаем папку например ajax обязательно указать | |
/ajax | |
чтобы брало от корня. | |
Если указать просто ajax - исключит изо всех подпапок по всему сайту этоу папку. | |
2. Исключить папку bitrix, но оставить подпапку aspro_max внутри. | |
/bitrix/* | |
!/bitrix/templates/ | |
/bitrix/templates/* | |
!/bitrix/templates/aspro_max/ | |
Папка aspro_max находится в подпапке templates. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment