DEV Community

Discussion on: A new use case for git submodules

Collapse
 
willmrose profile image
will-m-rose

Not sure if it's because I'm on Git for Windows, but a couple times above you list commands such as:

git foreach submodule git status

When I run that my shell says:

git: 'foreach' is not a git command.

I just had to swap foreach and submodule to make it work.

So this works:

git submodule foreach git status

Collapse
 
rmpato profile image
Pato

You are right, thank you for pointing this out!

I miss spelled the command. git submodule foreach git status is the actual command. I'll update the post.