I would like to reset a git in my app, so I thought that I could either do a reset to start, if that command exists, or delete and do another init? What can I do? If the latter; how do I remove git from an app/repository? Can I just delete the .git directory? -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Pål Bergström wrote:> I would like to reset a git in my app, so I thought that I could either > do a reset to start, if that command exists, or delete and do another > init? What can I do? If the latter; how do I remove git from an > app/repository? Can I just delete the .git directory?Yes. Git''s entire repository in inside the .git directory. If you want to be safe about it just clone your repository and remove the .git directory from the clone. That way if you decide you really wanted tat history you''ll have it in the original repository. -- 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 -~----------~----~----~----~------~----~------~--~---
Robert Walker wrote:> Pål Bergström wrote:> Yes. Git''s entire repository in inside the .git directory. If you want > to be safe about it just clone your repository and remove the .git > directory from the clone. That way if you decide you really wanted tat > history you''ll have it in the original repository.Thanks. :-) -- 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 -~----------~----~----~----~------~----~------~--~---