Topic: Plugins as git submodules

Hi,
I'm using git submodule approach to track plugins in a test project. But I don't know how to install the plugin itself, in those required cases.
For instance, I use localized_dates plugin

git submodule add git://github.com/clemens/localized_dates.git vendor/plugins/localized_dates


Can anybody  tell me how to do this.
Thx!

Re: Plugins as git submodules

git submodule add git://github.com/clemens/localized_dates.git vendor/plugins/localized_dates
git submodule init
git submodule update

# if you want to checkout a particular tagged revision
cd vendor/plugins/localized_dates
git tag   # shows a list of tags
git checkout tagname  # replace tagname with the one you want

Vincent Woo Ruby on Rails Blog

Re: Plugins as git submodules

Thanks vwoo. This is very helpful.