Jeff Cohen wrote: > > 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
Safer I think to: # git status # git rm config/database.yml --cache --cache should leave the actual file alone and just remove it from tracking> Backups are always a good thing though. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

