In our git project we have one submodule. This submodule is configured in submodules file with a specific branch. So if we init
or update
the submodule, we always use the --remote
Option.
But now, every time we update the submodule, there are changes in metadata of the submodule (subproject commit). The hash changes.
Is it possible to deactivate this change and just use the branch specified in gitmodules? In our case the commit hash is obsolete.