gitignore文件示例

个人比较常用的.gitignore文件如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#idea
.idea/
target/
*.iml
*.ipr
*.iws
*.log

#eclipse
.project
.classpath
.classpath.log
pom.xml.versionsBackup
.settings

#gradle
.gradle
/build/
gradle-app.setting
.gradletasknamecache

#nodejs
node_modules/
package-lock.json

## others
.svn/
rebel.xml
.rebel-remote.xml.*