Reputation: 600
I have a repo, let's call it test
. Inside that repo, I want to create a submodule that points to another existing repo called tools
. I want to be able to modify files in both repos, then open a git bash from test
, do a git status
, and see that I have modified or untracked files in both repos. I am expecting to modify and push to both repos in the course of this project, and I want to avoid having to do a git status
in two different places. How can I do that?
I have tried git status --ignore-submodules=none
and that did not show submodule information even when I had modified files in the submodule.
If using submodules for this is not the best way to do this, I'm open to other suggestions.
Upvotes: 1
Views: 273
Reputation: 1324218
git status --ignore-submodules=none
and that did not show submodule information even when I had modified files in the submodule
It should have: check the status of the submodule themselves with git submodule status
and see if they are actually well initialized.
Upvotes: 1