How to configure git for ruby on rails

I am on the first chapter of Michael Hartl’s Ruby on Rails Tutorial. I have installed git and am trying to configure git for my rails app through the command line. However, when I try to use “git add -A” to add git to my project repository, it forces the LF files to be converted from CRLF and does not allow the project files to be added to the git repository. I can’t seem to find a way to fix this online. How do I configure git for this?


   try this:

W dniu sobota, 12 września 2015 21:27:57 UTC+2 użytkownik napisał:

Try 'git init' followed by 'git add .'

Are you trying to work in Windows?

Are you running the tutorial on cloud9 or on your PC?