I am a bit confused about the different purpose of each. I think the .gitignore file belongs in the root of my project and is project specific, but that also seems to be the reason for the .git/ info/exclude file what happens if they conflict? which one wins. What is standard practice? My exclude file looks like this # git-ls-files --others --exclude-from=.git/info/exclude log/*.log tmp/**/* .DS_Store doc/api doc/app I am on Hardy Heron, isn''t a .DS_Store a mac thang? Should that all just be in my .gitignore file, which is empty? Sorry for so many questions, but I can''t find shit about git on the internet.(what a twit) Thanks in advance TeeDub --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Thu, Nov 27, 2008 at 10:11 AM, Ruby Freak <twscannell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I am a bit confused about the different purpose of each. > I think the .gitignore file belongs in the root of my project and is > project specific, but that also seems to be the reason for the .git/ > info/exclude file > > what happens if they conflict? which one wins. > > What is standard practice? > > My exclude file looks like this > # git-ls-files --others --exclude-from=.git/info/exclude > log/*.log > tmp/**/* > .DS_Store > doc/api > doc/app > > I am on Hardy Heron, isn''t a .DS_Store a mac thang?Yes, .DS_Store is Mac-specific. Since the Mac is a very common platform for Ruby/Rails work, it''s nice to list that file in your exclusions. Should that all just be in my .gitignore file, which is empty?> > Sorry for so many questions, but I can''t find shit about git on the > internet.(what a twit)Very hard to believe. :-) Here is a good place to look, though: http://git-scm.com/ . Regards, Craig --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hey TeeDub, Start here: http://www.kernel.org/pub/software/scm/git/docs/ google is your friend too Rick On Nov 27, 5:11 am, Ruby Freak <twscann...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am a bit confused about the different purpose of each. > I think the .gitignore file belongs in the root of my project and is > project specific, but that also seems to be the reason for the .git/ > info/exclude file > > what happens if they conflict? which one wins. > > What is standard practice? > > My exclude file looks like this > # git-ls-files --others --exclude-from=.git/info/exclude > log/*.log > tmp/**/* > .DS_Store > doc/api > doc/app > > I am on Hardy Heron, isn''t a .DS_Store a mac thang? > > Should that all just be in my .gitignore file, which is empty? > > Sorry for so many questions, but I can''t find shit about git on the > internet.(what a twit) > > Thanks in advance > > TeeDub--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---