Hello I now this should maybe be put in a git group, but I guessing many rails developers (if using sqlite3) for development have a good idea.. I have an application with different branches, so my SQlite3 file get dependant on branch. I have the file ignored by git, so changing branch will keep my database. but what I really would like was it to switch to the last from that branch? I´m not sure this is clever.. thats why I am asking you developers, how do you handle this? /MartOn --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Robert Walker
2009-Apr-01 13:18 UTC
Re: How do you handle SQlite3 files between branches in git
MartOn wrote:> Hello > I now this should maybe be put in a git group, but I guessing many > rails developers (if using sqlite3) for development have a good idea.. > > I have an application with different branches, so my SQlite3 file get > dependant on branch. > I have the file ignored by git, so changing branch will keep my > database. > > but what I really would like was it to switch to the last from that > branch? > I�m not sure this is clever.. > > thats why I am asking you developers, how do you handle this? > > /MartOnWhat I do is add *.sqlite3 to my .gitignore file, so it''s no longer an issue. Other developers that might be working on the project probably don''t want your database files in their clone anyway. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---