Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to remove git submodule cleanly?

4 ビュー (過去 30 日間)
Sylvain
Sylvain 2025 年 11 月 18 日
閉鎖済み: Sylvain 2025 年 11 月 18 日
I used the branch manager, clicked the submodule and selected removed, some operation happened,
The Folder is still present in the project tree, and the submodule name is still there. if i click update it throw an error, :
''' Unable to update the submodule "My Git Submodule". Caused by: could not get ID of submodule in index (-1x17) '''
but the submodule title is still in my branch manager.
  1 件のコメント
Sylvain
Sylvain 2025 年 11 月 18 日
Sorted, thanks to chat GPT. best is to use git command directly in the console. Main issue is that one of the submodule git commit was not referenced in the main repo

回答 (0 件)

この質問は閉じられています。

タグ

製品


リリース

R2025a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by