Guides: Using git submodules to track plugins
Submodules allows you to manage subparts of a project in different git repositories and reference them in a “superproject” repository. Here is a link with a great example of submodule usage to track your plugins:
http://woss.name/2008/04/09/using-git-submodules-to-track-vendorrails/
Adding Rails as a submodule
git submodule add git://github.com/rails/rails.git vendor/rails
Once the submodule is added we need to register this submodule using `init`.
git submodule init
From now we can update all the submodules using the following command:
git submodule update
Last edited by fesplugas, 2 months ago
Versions:
