IBM/MAX-Skeleton

Add hidden files to .gitignore

Closed this issue · 7 comments

Can we either add .* to ignore all hidden files or add just .DS_store to ignore DS_Store files?

@djalova @bdwyer2
Any suggestion on this?

We don't want to add .* because that would ignore .dockerignore but we should add .DS_store and other files used by IDEs.

Is .dockerignore the only file that we need to force add if we include .*?

.gitignore, .travis.yml

I thought of suggesting explicit include using ! prefix. If there are many files, I am not sure if it makes sense.

we have added .DS_store to gitignore on other max repos previously so we should just add it here. wildcard ignores are generally not good practice unless in a subdirectory (eg tests)