SourceTree配置SSH鏈接GitLab

1. 打開終端 2. 輸入 ssh-keygen -t rsa -C "[email protected]" 輸入註冊gitlab的郵箱,看到如下即生成SSH key成功 文件位於如下地址 3. 複製id_rsa.pub文件內容 4. 粘貼到gitlab settings -> SSH key 5. 在SourceTree中配置與GitLab公鑰對應的公鑰 參考: https://blog.csd
相關文章
相關標籤/搜索