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.
Sergio T. R. (Guest)
on 2008-12-10 22: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?

Ryan B. (Guest)
on 2008-12-10 23: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 B.
This topic is locked and can not be replied to.