For anyone still suffering from this like me, I came up with a bash script to do this instead:
modules=( submodule1 # ...)for module in "${modules[@]}"do echo "deiniting $module" git submodule deinit "$module" cat >> .git/config << EOF[submodule "$module"] active = falseEOFdone
Customer support service by UserEcho
For anyone still suffering from this like me, I came up with a bash script to do this instead: