Neil G
Neil G

Reputation: 33222

Reverting 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 revert it? How do I revert files within it?

Upvotes: 4

Views: 2133

Answers (1)

Alan Haggai Alavi
Alan Haggai Alavi

Reputation: 74252

You could update the submodule:

git submodule update bundle/snipmate

Upvotes: 10

Related Questions