.gitignore文件内容

常见的比较完整的.gitignore文件内容 # JetBrains IDEs .idea/ *.iws *.iml *.ipr out/ # VSCode .vscode/ .history/ # macOS .DS_Store .AppleDouble .LSOverride # Icon

常见的比较完整的.gitignore文件内容

# JetBrains IDEs
.idea/
*.iws
*.iml
*.ipr
out/

# VSCode
.vscode/
.history/

# macOS
.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

# Java
*.class
*.jar
*.war
*.ear
*.javadoc
*.log
*.project
*.classpath
*.settings/
*.factorypath

# 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

# Gradle
.gradle/
build/
!gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

# Go
bin/
pkg/
*.exe
*.test
*.out

# Python
*.pyc
*.pyo
*.pyd
*.pyd
__pycache__/
*.env
*.venv
env/
venv/
ENV/
env.bak/
venv.bak/
*.egg
*.egg-info/
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg
*.egg-info/
.installed.cfg
*.egg
*.manifest
*.spec
pip-log.txt
pip-delete-this-directory.txt
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
.venv/

# C
*.o
*.a
*.so
*.d

# C++
*.o
*.a
*.so
*.exe
*.out

# C#
bin/
obj/
*.user
*.vs/
*.suo
*.userosscache
*.sln.docstates
*.vs/
.vscode/
.vscode-test/

# Node.js
node_modules/
npm-debug.log
yarn-error.log
yarn-debug.log*

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
pnpm-debug.log*
lerna-debug.log*

# IntelliJ IDEA
# User-specific files
.idea/workspace.xml
.idea/tasks.xml
.idea/usage.statistics.xml
.idea/dictionaries

# Sensitive or high-churn files
.idea/dataSources/
.idea/dataSources.ids
.idea/dataSources.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml

# Gradle
.idea/gradle.xml
.idea/libraries

# File-based project format
*.iws

# Maven
.idea/jarRepositories.xml

# Mongo Explorer plugin
.idea/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# End of https://www.toptal.com/developers/gitignore/api/intellij,macos,visualstudiocode,java,python,go,c,c++,csharp,node

LICENSED UNDER CC BY-NC-SA 4.0
Comment