You want to force Git to always use SSH URLs for GitHub repositories on the Bitrise virtual machines.
You can instruct
git to use the SSH git clone URL (
git@...) instead of HTTPS one (
https://) in every case, regardless of other settings, such as your Cocoapods specs.
- Add a Script Step to your Workflow.
- In the Script content input, add the following:
git config --global url."email@example.com:".insteadOf "https://github.com/"
This instructs git that in every case when the git clone URL starts with
https://github.com/, it should replace it with
firstname.lastname@example.org: before contacting the server.