submodule can't pull new version

I am using hugo and the themes in the submodule, now i am already update my submodule, but pages deployment always use the old versions submodule, so what should i do to let pages update my submodule? or how can i use 「git submodule update --init --recursive」any one help me ?
2 Replies
NoPanic
NoPanic12mo ago
anyone help me?
James
James12mo ago
You probably want to run something like git submodule update –remote and then commit the index changes back to your repo