Configure GitHub CLI to clone with SSH
Updated 3 months ago
By default, gh repo clone
uses HTTPS. To configure gh
to clone with SSH, run the following command:
gh config set git_protocol ssh
Thanks for the tip, @ampinsk!
Updated 3 months ago
By default, gh repo clone
uses HTTPS. To configure gh
to clone with SSH, run the following command:
gh config set git_protocol ssh
Thanks for the tip, @ampinsk!