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