Created
May 27, 2013 20:13
-
-
Save calebbrewer/5658868 to your computer and use it in GitHub Desktop.
Ignore everything except for the gitignore file and the themes directories. I made this because I tried others that used the ! logic, but they didn't work right for me.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#For wordpress theme dev. | |
#Ignore everything except for the gitignore file and the themes directories: | |
* | |
!.gitignore | |
!wp-content/ | |
!wp-content/themes/ | |
!wp-content/themes/*/ | |
!wp-content/themes/*/* | |
!wp-content/themes/*/*/* | |
!wp-content/themes/*/*/*/* | |
!wp-content/themes/*/*/*/*/* | |
!wp-content/themes/*/*/*/*/*/* | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment