chore: 添加 .gitignore 文件以忽略常见构建和编辑器文件
- 忽略 Maven 构建输出目录 target/ - 忽略 Node.js 模块目录 node_modules/ - 忽略日志文件 *.log 和环境变量文件 .env* - 忽略 IntelliJ IDEA 编辑器相关文件和目录 - 忽略 Eclipse 编辑器相关文件和目录 - 忽略 NetBeans 编辑器相关文件和目录 - 忽略 VS Code 编辑器相关文件和目录 - 忽略 Mac OS 系统文件 .DS_Store
This commit is contained in:
45
.gitignore
vendored
Normal file
45
.gitignore
vendored
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
target/
|
||||||
|
!.mvn/wrapper/maven-wrapper.jar
|
||||||
|
!**/src/main/**/target/
|
||||||
|
!**/src/test/**/target/
|
||||||
|
.trae
|
||||||
|
node_modules/
|
||||||
|
**/node_modules
|
||||||
|
**/*.log
|
||||||
|
**/.env*
|
||||||
|
|
||||||
|
### IntelliJ IDEA ###
|
||||||
|
.idea/modules.xml
|
||||||
|
.idea/jarRepositories.xml
|
||||||
|
.idea/compiler.xml
|
||||||
|
.idea/libraries/
|
||||||
|
*.iws
|
||||||
|
*.iml
|
||||||
|
*.ipr
|
||||||
|
.idea
|
||||||
|
**/.idea
|
||||||
|
|
||||||
|
### Eclipse ###
|
||||||
|
.apt_generated
|
||||||
|
.classpath
|
||||||
|
.factorypath
|
||||||
|
.project
|
||||||
|
.settings
|
||||||
|
.springBeans
|
||||||
|
.sts4-cache
|
||||||
|
|
||||||
|
### NetBeans ###
|
||||||
|
/nbproject/private/
|
||||||
|
/nbbuild/
|
||||||
|
/dist/
|
||||||
|
/nbdist/
|
||||||
|
/.nb-gradle/
|
||||||
|
build/
|
||||||
|
!**/src/main/**/build/
|
||||||
|
!**/src/test/**/build/
|
||||||
|
|
||||||
|
### VS Code ###
|
||||||
|
.vscode/
|
||||||
|
|
||||||
|
### Mac OS ###
|
||||||
|
.DS_Store
|
||||||
Reference in New Issue
Block a user