User Tools

Site Tools


git:git-ignore

This is an old revision of the document!


Typical .gitignore file

These are a list of files that should not be commited to git.

.gitignore
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/
*.class
 
### IntelliJ IDEA ###
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
 
### 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
git/git-ignore.1688488591.txt.gz · Last modified: 2023/07/04 19:36 by 127.0.0.1