git hooks for submodule
You can set git hooks for submodule
code:sh
$(parent_repo)/.git/modules/$(submodule path)/hooks/pre-xxx