threads / discuss / 45291

git init --separate-git-dir does not update symbolic .git links for submodules

Subject: git init --separate-git-dir does not update symbolic .git links for submodules

## tl;dr

One message between Mar 4, 2017 and Mar 4, 2017.

replies: 0people: 1as markdown or json

Sven Strickroth· Mar 4, 2017, 12:15 UTC · lore
Hi,
clone or have a repository with submodules.

Now issue "git init --separate-git-dir ../test" which moves the content of the .git direcotry to the ../test directory and replaces the .git directory with a .git file "link".

However, for all submodules the .git-file is not updated and still points to the .git directory of the parent repository which now is a file.

This issue is present for me in Git 2.12.0.
-- 
Best regards,
 Sven Strickroth
 PGP key id F5A9D4C4 @ any key-server

← back to recent threads