Last active
March 14, 2016 15:29
-
-
Save codescribblr/5d0727ed8de208d5e015 to your computer and use it in GitHub Desktop.
This is the default .gitignore we can use for git repos. It gives a template for including plugins and themes we've modified.From https://bitbucket.org/showcase/wolfpackwholesale.com/src/91cb3cf37a8390f4260e44d49ec04695296ea47a/.gitignore?at=netsuite_integration_plugin
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 initially | |
/* | |
# General ignore list | |
# - these ignores are used if I decide to not ignore everything initially | |
# OSX | |
.DS_Store | |
.AppleDouble | |
.LSOverride | |
# Icon must end with two \r | |
Icon | |
# Thumbnails | |
._* | |
# Files that might appear in the root of a volume | |
.DocumentRevisions-V100 | |
.fseventsd | |
.Spotlight-V100 | |
.TemporaryItems | |
.Trashes | |
.VolumeIcon.icns | |
# Directories potentially created on remote AFP share | |
.AppleDB | |
.AppleDesktop | |
Network Trash Folder | |
Temporary Items | |
.apdisk | |
# Specific directory names to ignore | |
*/cache/* | |
*/backups/* | |
# Ignore all directories and files containing any of the following strings in their filename | |
*@* | |
*@eaDir* | |
*@SynoResource* | |
*twenty* | |
*Twenty* | |
# File types to ignore | |
*.zip | |
*.env | |
# DON'T IGNORE | |
!.gitignore | |
!.htaccess | |
!readme.* | |
# (s)ftp config file for Sublime Text package | |
!sftp-config.json | |
!sftp-config-alt.json | |
# (s)ftp config file for Atom package | |
!deployment-config.json | |
# Wordpress specific | |
!wp-config.php | |
!wp-content/ | |
wp-content/* | |
!wp-content/themes/ | |
!wp-content/db-error.php | |
!wp-content/db.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment