Add hidden files to .gitignore
Closed this issue · 7 comments
SSaishruthi commented
Can we either add .*
to ignore all hidden files or add just .DS_store
to ignore DS_Store files?
SSaishruthi commented
bdwyer2 commented
We don't want to add .*
because that would ignore .dockerignore
but we should add .DS_store
and other files used by IDEs.
SSaishruthi commented
Is .dockerignore
the only file that we need to force add if we include .*
?
xuhdev commented
.gitignore
, .travis.yml
SSaishruthi commented
I thought of suggesting explicit include using !
prefix. If there are many files, I am not sure if it makes sense.
ajbozarth commented
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
)
SSaishruthi commented
Ref: #29