Skip to content

Instantly share code, notes, and snippets.

@tw-Frey
Last active October 12, 2018 09:45
Show Gist options
  • Select an option

  • Save tw-Frey/6e6a99bce02ec124c8ebbe16e040c24a to your computer and use it in GitHub Desktop.

Select an option

Save tw-Frey/6e6a99bce02ec124c8ebbe16e040c24a to your computer and use it in GitHub Desktop.
習慣的 .gitignore
# Created by .ignore support plugin (hsz.mobi)
### Android Studio ################################################################################
captures
### Eclipse template ##############################################################################
*.pydevproject
.metadata
.gradle
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
# Eclipse Core
.project
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# CDT-specific
.cproject
# JDT-specific (Eclipse Java Development Tools)
.classpath
# Java annotation processor (APT)
.factorypath
# PDT-specific
.buildpath
# sbteclipse plugin
.target
# TeXlipse plugin
.texlipse
### JetBrains template #############################################################################
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion
*.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/vcs.xml
# .idea/jsLibraryMappings.xml
# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/dataSources.local.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
### Java template #################################################################################
*.class
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.ear
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
### Android template ##############################################################################
# Built application files
*.apk
*.ap_
# Files for the Dalvik VM
*.dex
# Generated files
gen/
# Gradle files
build/
/*/build/
# Proguard folder generated by Eclipse
proguard/
# Log Files
*.log
###################################################################################################
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk
### Project-level settings ########################################################################
/.tgitconfig
# Ignore Gradle GUI config
gradle-app.setting
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
#!gradle-wrapper.jar
# 以下認為可略, by Faty, 2015-09-25
gradle/
gradlew*
# 敏感性 KV 及 keystore, 應被忽略, by Faty, 2016-08-02
security.properties
*.keystore
# Mac OS Zip, ignore, by Frey, 2017-07-18
*DS_Store*
*.psd
# Created by .ignore support plugin (hsz.mobi)
### Mercurial template
.hg/
.hgignore
.hgsigs
.hgsub
.hgsubstate
.hgtags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment