git module managment

13
Jan

Managing custom Drupal modules with git

zero dev's picture

What we're trying to achieve

Say for example you have a lot of custom modules exisiting as git repositories and you want to have a way of managing them for multiple sites. Say for example, something like drush up custom_modules, you sort of can with git submodules. In this way we'd beable to make a commit in one place and easily pull it down into our various sites.

Method

Using git submodules we'll create a repo for the custom modules and use git submodule add to add each module.

Subscribe to RSS - git module managment