Created
June 7, 2021 04:32
-
-
Save jordanlambrecht/57d5373ef801712fac67358b71a49b79 to your computer and use it in GitHub Desktop.
Jordan's Git Ignore Template
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
# git ls-files --others --exclude-from=.git/info/exclude | |
# Lines that start with '#' are comments. | |
# For a project mostly in C, the following would be a good set of | |
# exclude patterns (uncomment them if you want to use them): | |
# *.[oa] | |
# *~ | |
# ignore everything in the root except the "wp-content" directory. | |
!wp-content/ | |
# ignore everything in the "wp-content" directory, except: | |
# "mu-plugins", "plugins", "themes" directory | |
wp-content/* | |
!wp-content/mu-plugins/ | |
!wp-content/plugins/ | |
!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 | |
*.ftpignore | |
.ftpignore | |
*.ftpignore | |
.ftpconfig | |
.eslintrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment