You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.6 KiB
67 lines
1.6 KiB
# =========================================================================
|
|
# 1. Java 编译与运行环境产生的垃圾文件(必须忽略)
|
|
# =========================================================================
|
|
*.class
|
|
*.log
|
|
*.ctxt
|
|
*.jar
|
|
*.war
|
|
*.nar
|
|
*.ear
|
|
*.zip
|
|
*.tar.gz
|
|
*.rar
|
|
|
|
# =========================================================================
|
|
# 2. 构建工具及服务器临时目录
|
|
# =========================================================================
|
|
# 如果你使用的是 Maven 构建
|
|
target/
|
|
pom.xml.tag
|
|
pom.xml.releaseBackup
|
|
pom.xml.nextDevelopmentVersion
|
|
pom.xml.releaseProperties
|
|
pom.xml.used
|
|
release.properties
|
|
dependency-reduced-pom.xml
|
|
|
|
# 如果是普通的 Web 项目,忽略 Tomcat 或 Jetty 的临时和部署目录
|
|
bin/
|
|
build/
|
|
dist/
|
|
out/
|
|
.tomcat/
|
|
WEB-INF/classes/
|
|
|
|
# =========================================================================
|
|
# 3. IDE(集成开发环境)个性化配置文件(防止与同学冲突)
|
|
# =========================================================================
|
|
# IntelliJ IDEA
|
|
.idea/
|
|
*.iws
|
|
*.iml
|
|
*.ipr
|
|
out/
|
|
|
|
# Eclipse
|
|
.metadata/
|
|
.classpath
|
|
.project
|
|
.settings/
|
|
*.launch
|
|
|
|
# VS Code (如果你用 VS Code 写前端/后端)
|
|
.vscode/
|
|
|
|
# =========================================================================
|
|
# 4. 操作系统及前端打包临时文件
|
|
# =========================================================================
|
|
# 系统文件
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
Desktop.ini
|
|
.DS_Store
|
|
|
|
# 前端可能产生的 node 依赖(如果有使用 npm)
|
|
node_modules/
|
|
/dist/
|