Skip to content

Instantly share code, notes, and snippets.

@scottgruber
Forked from octocat/.gitignore
Last active August 10, 2019 02:02
Show Gist options
  • Save scottgruber/0e35a959da6f29528c999126fa9a065a to your computer and use it in GitHub Desktop.
Save scottgruber/0e35a959da6f29528c999126fa9a065a to your computer and use it in GitHub Desktop.
My global .gitignore configuration
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Editor files #
######################
*.bbprojectd
config.codekit
*.vscode
# Node #
##################
# Dependency directories
node_modules/
# Sass files #
##################
.sass-cache
# WordPress #
#############
# 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
# Perch Runway #
#############
perch/resources/
perch/resources/*.cache
perch/config/config.local.php
# Packages #
############
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# macOS generated files #
########################
# General
.DS_Store
.AppleDouble
.LAOverride
Desktop.ini
# Thumbnail cache files
._*
Thumbs.db
# Files that might appear on external disks
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# Application specific files #
##################
venv
node_modules
.sass-cache
*.bbprojectd
config.codekit
*.vscode
# WordPress #
#############
# 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
# Perch Runway #
#############
perch/resources/
perch/resources/*.cache
perch/config/config.local.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment