22 Jan

Chris Jean – Git Submodules: Adding, Using, Removing, Updating

I’ve spent a little more than a month working with Git now. I can honestly say that while there are many things that I like about Git, there are just as many things that I personally find to be a pain in the butt.

Submodules specifically have managed to be a thorn in my side on many occasions. While the concept of submodules is simple, figuring out how to actually work with them can be a chore. I say “figuring out” because not everything about working with submodules is well documented. I’ll cover two of the more difficult things to figure out: removing and updating submodules from your repository.

via Chris Jean – Git Submodules: Adding, Using, Removing, Updating. Git submodules is an incredibly cool feature, it’s a great solution to including code from other projects in your project.