How do I move an existing Git submodule within a Git repository?
Newer versions of git Git now has native support for moving submodules: Since git 1.8.5, git mv old/submod new/submod works as expected and does all the plumbing for you. You might want to use git 1.9.3 or newer, because it includes fixes for submodule moving. Older versions of git As mentioned in the comments, this … Read more