Skip to content

Instantly share code, notes, and snippets.

@karrikas
karrikas / .gitignore
Last active December 20, 2016 10:00
Gitignore for wordpress project
# Ignore everything in the root except the "wp-content" directory.
/*
!.gitignore
!wp-content/
!build.xml
!build_rsync_exclude
# Ignore everything in the "wp-content" directory, except the "plugins" and "themes" directories.
wp-content/*
!wp-content/plugins/