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