1. 打开终端文件位于如下地址3. 复制id_rsa.pub文件内容4. 粘贴到gitlab settings -> SSH key在SourceTree中配置与GitLab公钥对应的公钥 文章来源: SourceTree配置SSH链接GitLab 标签 gitlab ssh sourcetree