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/

相关文章:

  • 2021-12-20
  • 2021-09-02
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2021-09-03
  • 2021-08-07
  • 2021-12-19
  • 2021-11-16
  • 2021-09-01
相关资源
相似解决方案