Created
March 9, 2020 21:50
-
-
Save PaulMorel/8e8931369ef2c6330489c19f0cea8208 to your computer and use it in GitHub Desktop.
Wordpress gitignore
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
!.gitignore | |
# ignore everything in the root except the "wp-content" directory. | |
/* | |
!wp-content/ | |
# ignore everything in the "wp-content" directory, except: "themes" directory | |
wp-content/* | |
!wp-content/themes/ | |
# ignore these plugins | |
wp-content/plugins/hello.php | |
# ignore specific themes | |
wp-content/themes/twenty*/ | |
# ignore node dependency directories | |
node_modules/ | |
# ignore log files and databases | |
*.log | |
*.sql | |
*.sqlite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment