How to configure git for ruby on rails

29 views
Skip to first unread message

jharo...@gmail.com

unread,
Sep 12, 2015, 3:27:57 PM9/12/15
to Ruby on Rails: Talk
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?

Przemek Kosakowski

unread,
Sep 13, 2015, 2:48:12 AM9/13/15
to Ruby on Rails: Talk

James Davis, PhD

unread,
Sep 13, 2015, 8:57:23 AM9/13/15
to Ruby on Rails: Talk
Try 'git init' followed by 'git add .'

Colin Law

unread,
Sep 13, 2015, 9:55:15 AM9/13/15
to Ruby on Rails: Talk
Are you trying to work in Windows?

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

Colin
Reply all
Reply to author
Forward
0 new messages