Skip to content

Instantly share code, notes, and snippets.

@Archie22is
Last active September 15, 2022 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Archie22is/4dd38d5fbd0444a190dd2f93eee973f8 to your computer and use it in GitHub Desktop.
Save Archie22is/4dd38d5fbd0444a190dd2f93eee973f8 to your computer and use it in GitHub Desktop.
GITIGNORE HACKS
##########################################################################################################
# Ignore some shit
#
##########################################################################################################
.DS_Store
**/.DS_Store
# A leading "**" followed by a slash means match in all directories.
# For example, "**/foo" matches file or directory "foo" anywhere, the same as pattern
# "foo". "**/foo/bar" matches file or directory "bar" anywhere that is directly under directory "foo".
#
# Generic WordPress template
#
*.log
.htaccess
.htpasswd
/license.txt
/readme.html
/robots.txt
sitemap.xml
sitemap.xml.gz
wp-config.php
wp-content/advanced-cache.php
wp-content/backup-db/
wp-content/backups/
wp-content/blogs.dir/
wp-content/cache/
wp-content/tmp/
wp-content/upgrade/
wp-content/uploads/
wp-content/wp-cache-config.php
wp-content/plugins/wordfence/tmp/
wp-content/wflogs/
wp-content/wfcache/
/wp-content/managewp/
/stats/
/error/
### IDE
/.idea/
/nbproject/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment