Skip to content

Commit 5e9042f

Browse files
fzdy1914pyokagan
andcommitted
.gitignore: standardize and specify entries
We ignore files traced by git by adding entries in .gitignore. The format of the entries are not standardized and some of entries are too general so git will also ignore other files with same name, which is an unwanted behavior. We should only ignore files which the project strictly requires to be ignored. Let's standardize and specify entries the entries in .gitignore to solve the problem. The entries are reordered by their category. Some unnecessary entries are removed and some general entries are specified. Co-authored-by: Paul Tan <pyokagan@gmail.com>
1 parent d4ea3b6 commit 5e9042f

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

.gitignore

+19-18
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
build/
2-
.gradle/
3-
.checkstyle
4-
.settings/
5-
.idea/
6-
lib/*
7-
*.iml
8-
*.log
9-
*.log.*
10-
*.csv
11-
config.json
1+
# Gradle build files
2+
/.gradle/
3+
/build/
4+
src/main/resources/docs/
5+
6+
# IDEA files
7+
/.idea/
8+
/out/
9+
/*.iml
10+
11+
# Storage/log files
12+
/data/
13+
/config.json
14+
/preferences.json
15+
/*.log.*
16+
17+
# Test sandbox files
1218
src/test/data/sandbox/
13-
preferences.json
19+
20+
# MacOS custom attributes files created by Finder
1421
.DS_Store
15-
./screenshot*.png
16-
classes/
17-
/data/
18-
/bin/
19-
src/main/resources/docs/
20-
out/

0 commit comments

Comments
 (0)