1
我試圖從我的回購中刪除子模塊。這是我使用去除回購步驟:Git:刪除子模塊錯誤
Delete the relevant section from the .gitmodules file.
Stage the .gitmodules changes git add .gitmodules
Delete the relevant section from .git/config.
Run git rm --cached path_to_submodule
但是當我跑這個命令git rm --cached path_to_submodule
我得到這個錯誤:
fatal: Please stage your changes to .gitmodules or stash them to proceed
如果跑git status
我得到這個消息:
fatal: Not a git repository:path to submodule
你們中的任何人都知道我爲什麼或者如何去除子模塊?
我真的很感謝你的幫助。
感謝這使得伎倆 – user2924482