Skip to content

Instantly share code, notes, and snippets.

@Emp3r
Last active June 14, 2017 08:00
Show Gist options
  • Save Emp3r/9a94ef602af7421f1cbf71dc04bb980b to your computer and use it in GitHub Desktop.
Save Emp3r/9a94ef602af7421f1cbf71dc04bb980b to your computer and use it in GitHub Desktop.
Epic .gitignore, starts with classic Laravel 5 ignores and then adds much more.
/node_modules
/public/storage
/public/hot
/storage/*.key
/vendor
npm-debug.log
Homestead.json
Homestead.yaml
.idea
.env
##### Dev stuff #####
.sass-cache
.jekyll-metadata
.rocketeer
.deploy*/
Gemfile
Guardfile
composer.phar
**/*.log
_build
.metadata
.classpath
.settings
.project
local.properties
##### OSX #####
**/.DS_Store
**/.AppleDouble
**/.LSOverride
**/.localized
**/._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.AppleDB
.AppleDesktop
.apdisk
##### Windows #####
**/Thumbs.db
**/ehthumbs.db
**/Desktop.ini
**/$RECYCLE.BIN
**/*.cab
**/*.msi
**/*.msm
**/*.msp
**/*.lnk
# May be important:
# As of version 1.8.2, git supports ** to mean zero or more sub-directories. Update your git.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment