还原一个子模块使用Git
问题描述:
git submodule add git://github.com/msanders/snipmate.vim.git bundle/snipmate
,然后我删除的目录。我如何恢复它?如何恢复其中的文件?
答
您可以更新子模块:
git submodule update bundle/snipmate
谢谢,这与--init工作。 – 2011-04-14 19:15:09