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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -