Layout: move git modules `Dependencies` -> `dep` and rename them (strip path prefixes)
Closed this issue · 1 comments
Challanger524 commented
Layout: move git modules `Dependencies` -> `dep` and rename them (strip path prefixes)
Challanger524 commented
Done with next commands:
git submodule add --depth 1 --name "<name>" -- "<url>" ["<new_submodule_path>"]
git rm "<old_submodule_path>"
Git History replace of all Dependencies/
->deps/
:
git filter-repo --refs "<branch!>" --replace-text <(echo 'regex:Dependencies/==>deps/')
Would be much safer to limit rewrites to only CMakeLists.txt