Sean Santry

Git Repositories for Rails Plugins

Having moved to git for managing my Rails projects and git submodules for Rails plugins and vendor/rails, I decided to create git mirrors for a couple of plugins whose maintainers use subversion.

If you have a Rails project in a git repository, you might do

git submodule add git://repo.or.cz/has\_many\_polymorphs.git vendor/plugins/has\_many\_polymorphs
git submodule add git://repo.or.cz/acts\_as\_ferret.git vendor/plugins/acts\_as\_ferret

and perhaps

git submodule add git://git.sanityinc.com/rails.git vendor/rails

followed by

git submodule init
git submodule update