mhulse / gh-boiler

Common GitHub boilerplate files I use to kick-start new repositories.
Apache License 2.0
8 stars 3 forks source link

.gitignore additions #17

Closed mhulse closed 11 years ago

mhulse commented 11 years ago

Generic:

sitemap.xml
sitemap.xml.gz*~
.svn
.cvs
*.bak
*.swp

Wordpress:

# http://www.stumiller.me/what-should-be-excluded-in-a-wordpress-gitignore-file/
# Migrate to this type of setup: https://github.com/markjaquith/WordPress-Skeleton

wp-config.php
wp-content/uploads/
wp-content/blogs.dir/
wp-content/upgrade/
wp-content/backup-db/
wp-content/advanced-cache.php
wp-content/wp-cache-config.php
wp-content/cache/*
wp-content/cache/supercache/*
wp-content/cache/
wp-content/backups/

Maybe I should just focus on non-project-specific ignores?

mhulse commented 11 years ago

Here's a default WP .gitignore that's generated by GH when creating a new repo (if you tell it to create an ignore file for you):

https://github.com/github/gitignore/blob/master/WordPress.gitignore

Here's a page with the current .gitignore that I'm using:

https://help.github.com/articles/ignoring-files

... and this repo seriously rocks:

https://github.com/github/gitignore