- edit
.gitmodules>[submodule "path/to/submodule"] - edit
.git/config>[submodule "path/to/submodule"] - edit
path/to/submodule/.git>gitdir - edit
.git/modules/path/to/submodule/config>worktree - move
.git/modules/path/to/submoduleto its new path
Last active
June 10, 2026 14:18
-
-
Save simonLeary42/2a07105776eb7f2c836a9c8c958ba8e4 to your computer and use it in GitHub Desktop.
how to move a git submodule
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment