This is a list of files you can include in your .gitignore file for tyour laravel project when you push a repository to github:

  • *.cab
  • *.css.map
  • *.iml
  • *.ipr
  • *.iws
  • *.lnk
  • *.msi
  • *.msm
  • *.msp
  • *.stTheme.cache
  • *.sublime-workspace
  • *.tmlanguage.cache
  • *.tmPreferences.cache
  • *.un~
  • *~
  • ._*
  • .apdisk
  • .AppleDB
  • .AppleDesktop
  • .AppleDouble
  • .bower-cache
  • .bower-registry
  • .bower-tmp
  • .directory
  • .DocumentRevisions-V100
  • .DS_Store
  • .env
  • .env.*
  • .env.*.php
  • .fseventsd
  • .idea/
  • .idea_modules/
  • .LSOverride
  • .netrwhist
  • .sass-cache
  • .sass-cache/
  • .Spotlight-V100
  • .TemporaryItems
  • .Trash-*
  • .Trashes
  • .VolumeIcon.icns
  • /bootstrap/compiled.php
  • /min
  • /node_modules
  • /vendor
  • [._]*.s[a-w][a-z]
  • [._]s[a-w][a-z]
  • _ide_helper.php
  • _site/
  • atlassian-ide-plugin.xml
  • bower_components
  • com_crashlytics_export_strings.xml
  • config.codekit
  • crashlytics.properties
  • crashlytics-build.properties
  • Desktop.ini
  • ehthumbs.db
  • Icon
  • Network Trash Folder
  • out/
  • Session.vim
  • sftp-config.json
  • Temporary Items
  • Thumbs.db