In my git repository (Bitbucket) I have a reference to a sub project.
When I pushed it on the first place a .git/ folder was included (even though I use the reposito
As I explained this morning in "How to solve this Git issue?", this (ie '<folder_name> → <SHA> [<SHA>]
') is not a submodule.
A submodule is composed of:
If you record only the SHA1, but not the url, you will have something like:
A git clone --recursive
won't be able to clone the repo with that SHA1, because it does not know its url.
If you want to reference a subproject as a submodule:
git submodule add https://...