Skip to content

Instantly share code, notes, and snippets.

@maqiv
Last active September 27, 2017 11:29
Show Gist options
  • Save maqiv/df80a0bbd8bd8b1b65512add3aa80a01 to your computer and use it in GitHub Desktop.
Save maqiv/df80a0bbd8bd8b1b65512add3aa80a01 to your computer and use it in GitHub Desktop.
my common gitignore file
######## Git ########
#.gitattributes
######## bash-git-prompt ########
.bash-git-rc
######## Vim ########
*.swp
Session.vim
.Session.vim
.undodir
######## Java ########
*.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*
######## C ########
# Object files
*.o
*.ko
*.obj
*.elf
# Precompiled Headers
*.gch
*.pch
# Libraries
*.lib
*.a
*.la
*.lo
# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/
# gtag files
GPATH
GRTAGS
GSYMS
GTAGS
######## IntelliJ IDE ########
# 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
# IntelliJ Project Files
.idea/
## File-based project format:
*.iws
*.iml
######## Maven ########
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
# Exclude maven wrapper
# !/.mvn/wrapper/maven-wrapper.jar
######## Python ########
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# Jupyter Notebook files
*.ipynb
.ipynb_checkpoints
# Translations
*.mo
# Mr Developer
.mr.developer.cfg
.project
.pydevproject
######## LaTeX ########
# Ignore main files from vim-latex plugin
# http://vim-latex.sourceforge.net/documentation/latex-suite/latex-project.html
*.latexmain
######## Visual Studio Code ########
.vscode/*
#!.vscode/settings.json
#!.vscode/tasks.json
#!.vscode/launch.json
#!.vscode/extensions.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment