开发者

Rails 3 generator's git option?

In rails 2.x I could pass on a --git option to ./script/generate to add files to git automatic开发者_JAVA技巧ally after creation. However I have been unable to find such an option (or configuration) in Rails 3.0.

Has this been removed or am I missing something? I tried researching this for a while but I am unable to find any reference.

Thanks, Prateek


It doesn't have an option like that, although the standard 'rails new' command does generate the .gitignore and .gitkeep files for you.

Otherwise, I think you need to set up the git project yourself.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜