Is there a way to chain cmds to submodules within your repo? I am looking for built-in methods as I need this to be portable and without secondary installations.
In my case, I have a workflow pipeline that is based on ls-files (and log) and need to be able to see files that match certain conditions, even if they are in submodules.
i.e.
git ls-files some/file/path/above/my/submodules/globed-file
Only shows files within the current repo and ignores the submodule's files.