git submodule一些操作
checkout指定tag
cd /path/to/yoursubmodule git checkout yourTag cd .. git add yoursubmodule git commit -m "use submoduile at tag xx" git push
http://stackoverflow.com/questions/18755933/create-a-git-submodule-from-a-specific-repo-hash-or-tag
删除submodule
从 .gitmodule 文件里面删掉关于 vendor/plugins/will_paginate 的配置信息
git rm –cached vendor/plugins/will_paginate
现在可以重新添加了
http://huacnlee.com/blog/how-to-remove-submodule-in-git/
____________________________
本博客文章主要供博主学习交流用,所有描述、代码无法保证准确性,如有问题可以留言共同讨论。

浙公网安备 33010602011771号