You should first cd
into a submodule and commit your changes there (it's basically a separate repo). Then in your parent repo you'll see that the submodule was updated to a new commit and you'll record (add
and commit
) this fact in your main repo.
It should look like this:
# On branch master
# Changes not staged for commit:
modified: classifier (new commits)