如何使用git在rails项目之间共享基本代码?

air*_*iry 2 git ruby-on-rails

我想用git在我的rails项目之间共享(并不断更新)一些基本代码.我能怎么做?

Gar*_*eth 5

您可以使用git子模块,例如像这样