Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Ignore everything
- # https://stackoverflow.com/questions/987142/make-gitignore-ignore-everything-except-a-few-files
- /*
- # But not these files...
- !.gitignore
- !.gitconfig
- !ssl.ca
- !ssl.cert
- !ssl.combined
- !ssl.everything
- !.stats-htpasswd
- # Ignore all files ending with .log
- **.log
- # Whitelist folders
- # trailing "/" is optional for folders, may match file though.
- # "/" is NOT optional when followed by a *
- !public_html/
- !public_html/*
- # black list folders
- public_html/.well-known/
- public_html/**/.git/
- public_html/awstatsicons/
- public_html/awstats-icon/
- public_html/cache/
- public_html/stats/
- public_html/tmp/
- public_html/wp-content/uploads/wc-logs/
- public_html/icon/
- public_html/logs/
- public_html/log/
- public_html/wp-content/cache/
- public_html/wp-content/uploads/grid-gallery/cache/
- public_html/wp-content/wflogs/
- public_html/wp-content/uploads/gravity_forms/logs/
- # black list files
- **/error_log
- public_html/wp-config.php
- public_html/**/.gitignore
- public_html/**/*.lock
- public_html/**/*.tgz
- public_html/**/*.zip
- public_html/**/*.tar
- public_html/**/*.bz2
- public_html/**/*.gz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement