Steps:
- cd to the actual directory in which the submodule is located.
- run 'git pull origin' or whatever you want to do to set it to a new commit.
- cd from this directory (presumably to the root of the repository) and run "git status" - you will see that the directory is changed. If you run diff, you will see something like this:
diff --git a / default / bin / hdvcs b / default / bin / hdvcs
index bbd3f56..7c9394c 160000
--- a / default / bin / hdvcs
+++ b / default / bin / hdvcs
@@ -1 +1 @@
-Subproject commit bbd3f56898054e533e81b52b90b94155841b40a8
+ Subproject commit 7c9394c8520e41a704e6658360064758b20a3dfc
source share