Skip to content

Commit

Permalink
.gitignore: standardize and specify entries
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
fzdy1914 and pyokagan committed May 16, 2019
1 parent d4ea3b6 commit 5e9042f
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
build/
.gradle/
.checkstyle
.settings/
.idea/
lib/*
*.iml
*.log
*.log.*
*.csv
config.json
# Gradle build files
/.gradle/
/build/
src/main/resources/docs/

# IDEA files
/.idea/
/out/
/*.iml

# Storage/log files
/data/
/config.json
/preferences.json
/*.log.*

# Test sandbox files
src/test/data/sandbox/
preferences.json

# MacOS custom attributes files created by Finder
.DS_Store
./screenshot*.png
classes/
/data/
/bin/
src/main/resources/docs/
out/

0 comments on commit 5e9042f

Please sign in to comment.