Skip to content

Instantly share code, notes, and snippets.

@lordhasyim
Last active September 12, 2017 02:41
Show Gist options
  • Save lordhasyim/8bee2294abefb72138f2446af37021ef to your computer and use it in GitHub Desktop.
Save lordhasyim/8bee2294abefb72138f2446af37021ef to your computer and use it in GitHub Desktop.
.gitignore for general
# #######################################################################
# Gitignore
# Add Some Common OS and Code Editor
# #######################################################################
#
# =================================
# Gitignore For Mac
# =================================
#
# Apple Default hidden
.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
#
# =================================
# Gitignore For Windows
# =================================
#
# Windows image file caches
Thumbs.db
thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# System Volumes Information used on file shares
System Volume Information/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
*.exe
# Windows shortcuts
*.lnk
#
# =================================
# Gitignore For Linux OS
# =================================
# KDE directory preferences
.directory
# Linux trash folder which might appear on any partition or disk
.Trash-*
#
# =================================
# Gitignore For SublimeText
# =================================
# cache files for sublime text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
# workspace files are user-specific
*.sublime-workspace
# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
# *.sublime-project
# sftp configuration file
sftp-config.json
#
# =================================
# Gitignore For Jetbrain
# =================================
#
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
*.iml
## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:
# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries
# .idea/shelf
# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml
# Gradle:
# .idea/gradle.xml
# .idea/libraries
# Mongo Explorer plugin:
# .idea/mongoSettings.xml
## File-based project format:
*.ipr
*.iws
## Plugin-specific files:
# IntelliJ
/out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Gitignore For Composer
# =================================
#
# ignore composer lock file
composer.lock
# ignore composer phar file
composer.phar
# add exclude vendor
vendor
# Ignore Sublime .phpintel
.phpintel
# Ignore Visual Studio code
.vscode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment