Last time I blogged I talked about a way of managing git submodules in your Rails applications. While it was an OK start, it wasn’t a viable solution. I don’t really want to have to keep editing a rake file and would rather offload most of the work something else.
To scratch this itch, I wrote a little gem called Gitools. Gitools runs off a single YAML file that specifies what git submodules you want to manage and from what git repo you want to manage them from.
Gitools comes with a couple of commands that either add or update your git submodules as well as handling a fresh project checkout from git where it will do the init and update for you. It will also create a sample YAML file for you to get started.
Gitools has made git submodules a breeze to work with. Check it.