I have a project which depends on Twitter bootstrap 2.x, however, when I add bootstrap as a submodule using the following:
git submodule add https://github.com/t
Once your submodule is created:
cd /path/to/yoursubmodule git checkout yourTag cd .. git add yoursubmodule git commit -m "use submoduile at tag xx" git push
You records that way the fact you want a submodule at a certain tag.