Cloning another Bitbucket repository in Bitbucket Pipelines
Mar 7, 2020Ayush Sharma

Summary
This post details how to configure Bitbucket Pipelines to clone another Bitbucket repository using SSH keys. It explains the process of generating SSH keys within Bitbucket, adding the public key to the target repository's access keys, and then using `git clone` with the SSH URL in the pipeline script. This enables pipelines to access submodules or other dependent repositories.