Returning a submodule with Git

I did

git submodule add git://github.com/msanders/snipmate.vim.git bundle/snipmate 

and then I deleted the directory. How do I get it back? How to recover files in it?

+4
source share
1 answer

You can update the submodule:

 git submodule update bundle/snipmate 
+10
source

Source: https://habr.com/ru/post/1348156/


All Articles