Forum: Ruby on Rails What does the --git option do?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Fddbb3cd16868f4741c2e86ef015a639?d=identicon&s=25 Sergio T. Ruiz (sergio101)
on 2008-12-10 21:32
in starting a new project, i decided to try using the --git option to
see what would happen..

i figured it might just make up a new project and put the whole thing
under git control..

unfortunately, all i got was:

fatal: Not a git repository


can someone tell me exactly how this is used?

9a2a53db8e9b4476038c94a64b32833f?d=identicon&s=25 Ryan Bigg (ryan-bigg)
on 2008-12-10 22:24
(Received via mailing list)
If you do mkdir project && cd project && git init && rails . --git it
will add all the rails files to a git repository.

Ryan Bigg
This topic is locked and can not be replied to.