If you do mkdir project && cd project && git init && rails . --git it will add all the rails files to a git repository.
----- Ryan Bigg Freelancer http://frozenplague.net On 11/12/2008, at 6:32 AM, Sergio Ruiz wrote: > > 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 > > everywhere.. > > can someone tell me exactly how this is used? > > thanks! > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

