Created
September 26, 2022 04:03
-
-
Save mattneal-stafflink/9e0ad8d4b4ad18b4cf82503d93c6255f to your computer and use it in GitHub Desktop.
WordPress SpinupWP LocalWP Specific Gitignore
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
# Ignore Packages | |
vendor/ | |
node_modules/ | |
# ignore all files starting with . or ~ | |
.* | |
~* | |
# Don't ignore these ones though... | |
!.env.example | |
!.gitignore | |
!.editorconfig | |
!.scss-lint.yml | |
!README.md | |
!CHANGELOG.md | |
!composer.json | |
# Ignore spinup-composer-site specific files | |
config/keys.php | |
auth.json | |
# Ignore WordPress files and server specific things | |
public/wp | |
public/.htaccess | |
# Ignore uploads directory | |
public/content/uploads | |
!public/content/uploads/.gitkeep | |
# Ignore plugins & themes | |
public/content/plugins/* | |
public/content/themes/twenty* | |
public/content/mu-plugins/* | |
# Keep app.php; required. | |
!public/content/mu-plugins/app.php | |
# ignore OS generated files | |
ehthumbs.db | |
Thumbs.db | |
# ignore log files and databases | |
*.log | |
*.sql | |
*.sqlite | |
# ignore compiled files | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# ignore packaged files | |
*.7z | |
*.dmg | |
*.gz | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
*.img | |
#ignore large media files | |
*.mp3 | |
*.ogg | |
*.m4a | |
*.ra | |
*.3gpp | |
*.3gp | |
*.mng | |
*.asx | |
*.asf | |
*.wmv | |
*.avi | |
*.mid | |
*.midi | |
*.kar | |
# Add your theme ignore here so we can commit it as well | |
# eg !content/themes/my-theme-name | |
# Make sure you ignore anything in your compiled folder if it needs | |
# to be compiled on live. For example, Sage 10, you can ignore the | |
# your-theme-name/dist folder. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment