Created
January 22, 2019 14:32
-
-
Save nuclearpengy/e7355a61d0cb78a78aa7ea6488eae7a4 to your computer and use it in GitHub Desktop.
This file contains 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
# Sample Git ignore file for tracking child theme changes but ignoring everything else. :) | |
# | |
# Written by Nathan Jeffery | |
# Website: https://nuclearpengy.com | |
# Ignore Everything | |
/* | |
# Don't ignore gitignore | |
!.gitignore | |
# Don't ignore the child theme | |
!wp-content/ | |
wp-content/* | |
!/wp-content/themes/ | |
/wp-content/themes/* | |
!wp-content/themes/name-of-your-child-theme/ | |
# Ignore specific file types | |
.DS_Store |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment