Lego2012
9/26/2016 - 11:53 PM

gitignore OS X

gitignore OS X

# Created by https://www.gitignore.io

### 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

# Exclude OS X folder attributes
.DS_Store

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# To do what you want, you have to “unignore” every parent directory of anything that you want to “unignore”.
# Usually you end up writing rules for this situation in pairs: ignore everything in a directory, but not some certain subdirectory.

# you can skip this first one if it is not already excluded by prior patterns
!application/

application/*
!application/language/

application/language/*
!application/language/gr/

# exclude everything except directory foo/bar
/*
!/foo
/foo/*
!/foo/bar

# Exclude the .htaccess file
.htaccess

# Exclude any PSD/AI source
*.psd
*.ai

# Exclude the build products
build/*
*.[oa]

# Exclude Text Files except README.txt
*.txt
!README.txt

# Exclude log files
*.log

# Exclude Fonts
_fonts/