codescribblr
8/11/2015 - 12:57 PM

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://bi

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

# 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