'git mv' doesn't move submodule if it's in a subdirectory
- From
- Albin Otterhäll <gmane@otterhall.com>
- Date
- Apr 15, 2016, 08:14 UTC
- Message-ID
- <5710A2D3.8090003@otterhall.com>
I've a submodule located in a subdirectory ({git_rep}/home/{directory}/{submodule}), and I wanted to move the whole directory up a level ({git_rep}/{directory}/{submodule}). But when I used 'git mv {directory} ../' the '.gitmodule' file didn't get modified.
Best regards, Albin Otterhäll