git - gitignore does not work for db-files -



git - gitignore does not work for db-files -

i working grails , generated .gitignore file

integrate-with --git

the gitignore contains line

/*db.*

that should omit top level databasefile

proddb.h2.db

from commiting not. tried line

/*db.*

but doesn't work either.

peter

i guess file tracked, delete it:

$ git rm proddb.h2.db $ git commit -m "remove database file"

then set @ .gitignore:

*db.*

git grails

Comments

Popular posts from this blog

python - How to add an model instance to a django queryset? -

Using Android Volley to post an array to PHP -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -