Using Git Submodules (to build a USB key distro, in this case)

As noted previously, I’m a huge fan of git and an avid user of Github. Given that, I appreciate learning new ways to do cool things with git. Here was a new one to me – using git “submodules” to build a package consisting of other git repositories. In this case, Adam Kalsey wrote about how he used the “git submodule” command to package up a number of different components for a USB key drive.

The key point is: each of the components remains in its OWN git repository – yet the overall “package” is ALSO under git revision control.

This is cool to me as I’ve wanted to do something similar in the past – I’ve now added “git submodule” to my internal “git toolbox” list. Looking forward to trying it out at some point.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.