My project has dependencies. The dependencies are added as submodules.
A given submodule released a new major version that breaks my code.
In my personal copy I may cd into submodule folder
git checkout specific version
to fix this.
How do I store this specific version in a way that any fresh git clone; git submodule update --init --recursive
comes with the correct version for the submodule?
- Perhaps in
.gitmodules
? - "It's currently not possible and you should just add that specific version library code directly into your repository" ?