Say that there exist a remote repo named "A", which has a submodule named "B", in a branch "Ab" ("Ab" is the branch of the "A" repo).
I do not have the A repo cloned in my machine, nor I want to clone it. I want to know the git SHA1 of the B submodule for the "Ab" branch of the A submodule, in order to git archive it.
I know the URI of A and B (it is an "ssh://.... address, if it helps).
Is that possible? How?
By the way, I do not have ssh access to the machine that has A and B repositories, so I can not do "ssh -p port destination command". The machine is a gerrit server, if it helps.