Created
August 1, 2021 08:07
-
-
Save MasterHans/45e763b115f18d88a213c27c88084510 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