Last active
March 1, 2020 00:23
-
-
Save patric-boehner/722850f3f6a3713048bbabe1832fd35f to your computer and use it in GitHub Desktop.
A Sample Gitignore file originally from Bill Erickson
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
| # Ignore everything # | |
| ** | |
| !wp-content/ | |
| wp-content/** | |
| !wp-content/themes/ | |
| !wp-content/plugins/ | |
| wp-content/themes/** | |
| wp-content/plugins/** | |
| # Add two rules for each Theme or Plugin you want to include: | |
| # 1. !folder-name/ <-- includes the Plugin and top level files | |
| # 2. !folder-name/** <-- includes the Plugin and sub level files recursively, except for the "Ignore some other system generated files" rules below | |
| ############################### | |
| # Start editing! | |
| # Theme | |
| !wp-content/themes/childthemename/ | |
| !wp-content/themes/childthemename/** | |
| # Functionality Plugin | |
| !wp-content/plugins/core-functionality/ | |
| !wp-content/plugins/core-functionality/** | |
| # Stop editing! | |
| ############################################ | |
| # Ignore some other system generated files # | |
| ############################################ | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| *.7z | |
| *.zip | |
| *.dmg | |
| *.gz | |
| *.iso | |
| *.jar | |
| *.rar | |
| *.tar | |
| *.log | |
| *.sql | |
| *.sqlite | |
| .DS_Store | |
| ._* | |
| .Spotlight-V100 | |
| .Trashes | |
| ehthumbs.db | |
| Thumbs.db | |
| .codekit-cache | |
| .sass-cache | |
| # Sublime | |
| *.sublime-project | |
| *.sublime-workspace | |
| # PhpStorm | |
| .idea/ | |
| config.codekit | |
| config.codekit3 | |
| *.yml | |
| # Always include the build script # | |
| ################################### | |
| !build.sh | |
| !README.md | |
| !CHANGELOG.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment