Problem with --shallow-submodules option
- From
- Istvan Zakar <istvan.zakar@gmail.com>
- Date
- Jun 20, 2016, 13:06 UTC
- Message-ID
- <loom.20160620T145755-931@post.gmane.org>
Hello,
I'm working on a relatively big project with many submodules. During cloning for testing I tried to decrease the amount of data need to be fetched from the server by using --shallow-submodules option in the clone command. It seems to check out the tip of the remote repo, and if it's not the commit registered in the superproject the submodule update fails (obviously). Can I somehow tell to fetch that exact commit I need for my superproject?
Thanks, Istvan