Re: 'git mv' doesn't move submodule if it's in a subdirectory

2016-04-15 Thread Albin Otterhäll
On 2016-04-15 19:18, Stefan Beller wrote: > On Fri, Apr 15, 2016 at 1:14 AM, Albin Otterhäll <gm...@otterhall.com> wrote: >> I've a submodule located in a subdirectory >> ({git_rep}/home/{directory}/{submodule}), and I wanted to move the whole >> directory up a

'git mv' doesn't move submodule if it's in a subdirectory

2016-04-15 Thread Albin Otterhäll
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