-
-
Save alexander-young/e12c80bcfcb9f5c80946 to your computer and use it in GitHub Desktop.
Some common .gitignore configurations
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
# WordPress # | |
###################### | |
# ignore everything in the root except the "wp-content" directory. | |
/* | |
!wp-content/ | |
# ignore specific themes | |
wp-content/themes/twenty*/ | |
# Node # | |
###################### | |
# ignore dependencies folder | |
node_modules/ | |
# ignore dependencies folder (if it's in your themes folder) | |
wp-content/themes/*/node_modules | |
# track this file .gitignore (i.e. do NOT ignore it) | |
!.gitignore | |
# track this file gulpfile.js (i.e. do NOT ignore it) | |
!gulpfile.js | |
# ignore Editor files | |
*.sublime-project | |
*.sublime-workspace | |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # | |
############ | |
# it's better to unpack these files and commit the raw source | |
# git has its own built in compression methods | |
*.7z | |
*.dmg | |
*.gz | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
# Logs and databases # | |
###################### | |
*.log | |
*.sql | |
*.sqlite | |
# OS generated files # | |
###################### | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
ehthumbs.db | |
Thumbs.db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment