HTTP-based git access and private submodules


#1

Hi :wave:

Is it possible to fetch a private submodule if you use HTTP-based git access with GitHub apps, like explained in the docs?

https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/#http-based-git-access-by-an-installation

What happens if I run git submodule update --init in a repository cloned that way and the submodule is private?


#2

@calavera it should if the installation token in question has Repository contents read permissions.

But if that doesn’t work let me know and we’d be happy to investigate.