Created
July 14, 2022 08:33
-
-
Save stikkx/8df999df8f46db9ba6791b15fbc68814 to your computer and use it in GitHub Desktop.
OctoberCMS .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
# ------------------------------------------------------------------------------ | |
# .gitignore for OctoberCMS (http://octobercms.com/) | |
# Based on https://gist.github.com/salcode/b515f520d3f8207ecd04 for WordPress | |
# ------------------------------------------------------------------------------ | |
# Ignore everything in the root except the "plugins" and "themes" directories | |
/* | |
!themes/ | |
!plugins/ | |
# Ignore everything in the "themes" directory | |
themes/* | |
# Ignore everything in the "plugins" directory, except your own namespace | |
plugins/* | |
!plugins/{AUTHOR}/ | |
# Or ignore this too and add specific plugins at the bottom | |
#plugins/{AUTHOR}/* | |
# Miscellaneous rules | |
## Ignore node depenencies | |
node_modules/ | |
## Ignore log files and databases | |
*.log | |
*.sql | |
*.sqlite | |
## Ignore packaged files | |
*.dmg | |
*.gz | |
*.iso | |
*.img | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
# Whitelist rules | |
## Misc | |
!.gitignore | |
!.editorconfig | |
!composer.json | |
!package.json | |
## Themes | |
!themes/besttheme/ | |
## Plugins | |
!plugins/{AUTHOR}/private-plugin-one/ | |
!plugins/{AUTHOR}/private-plugin-two/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment