Tuesday, April 15, 2014

How to Move a Git Submodule

I was in Git hell for more than a day. Word to the wise: copy the entire directory before doing anything crazy using your OS. Even reflog cannot get you back when your submodules get screwed up.

Anyway, here's how to move a git submodule. Hint: you cannot do it with git mv.


No comments: