Add .gitignore for Spring project files

This commit is contained in:
Jitendra Singh Rajpurohit 2026-02-26 23:42:12 +05:30 committed by GitHub
parent b4105e73e4
commit 52833a1343
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

76
Spring.gitignore Normal file
View File

@ -0,0 +1,76 @@
# Compiled class files
*.class
# Log files
*.log
# BlueJ files
*.ctxt
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# 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
# Avoid ignoring the wrapper jar so others can build the project
!.mvn/wrapper/maven-wrapper.jar
# Gradle
.gradle/
build/
!gradle/wrapper/gradle-wrapper.jar
# IntelliJ IDEA
.idea/
*.iml
*.iws
*.ipr
out/
/cmake-build-*/
# Visual Studio Code
.vscode/
# Eclipse
.apt_generated
.classpath
.project
.settings/
# NetBeans
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
# OS & System Files
.DS_Store
Thumbs.db
desktop.ini
# VM Crash logs
hs_err_pid*
replay_pid*
# Local Configuration & Secrets
.env
.env.local
.env.*.local