1

If I want to access a private github repo with its deploy keys system. Do I need a ssh key-pair for the main git repo and all its submodules or just the parent one?

1 Answer 1

1

You'll need the SSH key-pair for the parent, and for each submodules (if they are private or if you want to make new commits in those submodules).
See for instance "Pagoda Box":

Private Submodule Repos

If your submodule is in a private repo you'll need to grant Pagoda Box access to pull from that repo. You can do so by adding Pagoda Box's public SSH Key to the repo.
If it's a GitHub repo, you can accomplish the same thing by simply adding 'pagodabox' as a collaborator.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.