git submodule
03 December 2011
When you include another open source in your own project, it's usually pretty hard to keep it up to date. it becomes even more harder if you have some modification on it.
pretty easy and simple, and the logic behind is simple too. reference as http://help.github.com/submodules/ or http://progit.org/book/ch6-6.html
recently I have bootstrap in my KinderGarden project, it's very easy to use git submodule to handle it.
kindergarden> git submodule add https://github.com/twitter/bootstrap.git static/bootstrapkindergarden> git add .gitmodules static/bootstrapkindergarden> git commit -a -m "remote bootstrap"kindergarden> git pushkindergarden> git submodule init
in delopy or other machine:
kindergarden$ git submodule initkindergarden$ git submodule update
BTW, I added Live.com OAuth2 supports to KinderGarden.
Enjoy. Thanks
blog comments powered by Disqus