Collaborator vs Deploy Keys

Hi,

I have a basic question. I read through the docs and could not wrap my head around a few basic concepts.

I have a person that I would like to have access to a single private repo. I added their public key to the deploy keys (with write access) for the repo and it was not working. Then, I added them as a collaborator and it worked fine.

So – do I need to add their key as a deploy key for the rep or just by adding them as a collaborator will it work?

Thanks!

-Rob

Adding them as a collaborator is enough, after that they can use whatever keys they may have on their account for authentication. :slightly_smiling_face: