On Dec 11, 11:29 am, jgoggles <[email protected]> wrote: > Hi, > > For some reason git is not ignoring my database.yml file even though I > have config/database.yml in my .gitignore file. Any suggestions as to > what the problem might be and/or how I can fix it? It's causing major > annoyances. Is there a way to remove the database.yml from the repo > entirely? > > Thanks!
If it got added to your git repo before you specified it in the ignore file, I think you have to remove it: git rm config/database.yml git commit -a -m "Removed database.yml" (maybe save a backup of your database.yml first :-) Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

