Created
September 7, 2016 07:17
-
-
Save iqiancheng/6ba2cacecf81e5e13953b26c69216b75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by .ignore support plugin (hsz.mobi) | |
### Vim template | |
# swap | |
[._]*.s[a-w][a-z] | |
[._]s[a-w][a-z] | |
# session | |
Session.vim | |
# temporary | |
.netrwhist | |
*~ | |
# auto-generated tag files | |
tags | |
### Java template | |
*.class | |
# Mobile Tools for Java (J2ME) | |
.mtj.tmp/ | |
# Git Ignore File | |
.gitignore | |
# Package Files # | |
*.jar | |
*.war | |
*.ear | |
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | |
hs_err_pid* | |
### JetBrains template | |
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm | |
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | |
# 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: | |
*.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 | |
### Maven template | |
target/ | |
pom.xml.tag | |
pom.xml.releaseBackup | |
pom.xml.versionsBackup | |
pom.xml.next | |
release.properties | |
dependency-reduced-pom.xml | |
buildNumber.properties | |
.mvn/timing.properties | |
### OSX template | |
*.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 | |
.com.apple.timemachine.donotpresent | |
# Directories potentially created on remote AFP share | |
.AppleDB | |
.AppleDesktop | |
Network Trash Folder | |
Temporary Items | |
.apdisk | |
### Gradle template | |
.gradle | |
build/ | |
# Ignore Gradle GUI config | |
gradle-app.setting | |
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) | |
!gradle-wrapper.jar | |
# Cache of project | |
.gradletasknamecache | |
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898 | |
# gradle/wrapper/gradle-wrapper.properties | |
### Example user template template | |
### Example user template | |
# IntelliJ project files | |
.idea | |
*.iml | |
out | |
gen### SVN template | |
.svn/ | |
### Eclipse template | |
.metadata | |
bin/ | |
tmp/ | |
*.tmp | |
*.bak | |
*.swp | |
*~.nib | |
local.properties | |
.settings/ | |
.loadpath | |
.recommenders | |
# Eclipse Core | |
.project | |
# External tool builders | |
.externalToolBuilders/ | |
# Locally stored "Eclipse launch configurations" | |
*.launch | |
# PyDev specific (Python IDE for Eclipse) | |
*.pydevproject | |
# CDT-specific (C/C++ Development Tooling) | |
.cproject | |
# JDT-specific (Eclipse Java Development Tools) | |
.classpath | |
# Java annotation processor (APT) | |
.factorypath | |
# PDT-specific (PHP Development Tools) | |
.buildpath | |
# sbteclipse plugin | |
.target | |
# Tern plugin | |
.tern-project | |
# TeXlipse plugin | |
.texlipse | |
# STS (Spring Tool Suite) | |
.springBeans | |
# Code Recommenders | |
.recommenders/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wget https://gist.githubusercontent.com/iqiancheng/6ba2cacecf81e5e13953b26c69216b75/raw/36c3f52871984f27ebbcdcb7c366b3d2cf0cf59b/.gitignore_global ~/.gitignore_global
在
~/.gitconfig
中引入.gitignore_global
。这是我的.gitconfig 文件:Done!