读书人

剔除git的submodule

发布时间: 2013-01-27 13:56:15 作者: rapoo

删除git的submodule

  1. Delete the relevant section from the?.gitmodules?file.
  2. Delete the relevant section from?.git/config.
  3. Run?git rm --cached path_to_submodule?(no trailing slash).
  4. Delete the relevent folder in .git/modules.
  5. Delete the now untracked submodule files.

读书人网 >软件开发

热点推荐