Skip to content

Instantly share code, notes, and snippets.

@lyquix-owner
Last active July 10, 2020 13:17
Show Gist options
  • Save lyquix-owner/dace044baee80ca5ab1c45970343e0b0 to your computer and use it in GitHub Desktop.
Save lyquix-owner/dace044baee80ca5ab1c45970343e0b0 to your computer and use it in GitHub Desktop.
Sample .gitignore for Lyquix projects in WordPress and Joomla
# Operating system files
.DS_Store
Desktop.ini
Thumbs.db
# Common files and directories
/.htaccess
.npmignore
.project
.revision
.settings/
/__pma__/
/__srdb__/
/_pma_/
/_srdb_/
/deploy-config.php
node_modules
/phpmyadmin/
/phpMyAdmin*
/Search-Replace-DB-master/
/sitemap.xml
/sitemap.xml.gz
# Joomla core
/administrator/cache/
/cache/
/configuration.php
/docs/
/files/
/images/
/logs/
/tmp/
# Joomla extensions
/components/com_flexicontent/librairies/phpthumb/cache/
!/components/com_flexicontent/librairies/phpthumb/cache/index.php
!/components/com_flexicontent/librairies/phpthumb/cache/source/
/components/com_flexicontent/medias/
/components/com_flexicontent/uploads/
/components/com_rsform/uploads/
/components/com_sh404sef/cache/
/media/arkmedia/cache/
/media/com_registrationpro/invoicepdf
/plugins/editors/jckeditor/plugins/jckexplorer/cache
# WordPress core
/wp-config.php
/wp-content/upgrade/
/wp-content/uploads/
# WordPress plugins
/wp-content/advanced-cache.php
/wp-content/backup-db/
/wp-content/backups/
/wp-content/blogs.dir/
/wp-content/cache/
/wp-content/gallery/
/wp-content/wp-cache-config.php
# Project-specific ignores
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment