需要克隆的 源URl:
git@xx.xx.xx.xxx:xxxx/xxx.git
----------------------配置公钥--------------------------------------
终端输入指令:ssh-keygen -t rsa -C "账户@邮箱"
多次输入密码后:打开文件夹:快捷键 common+shift+g 前往文件夹输入: ~/.ssh


整个复制,到 gitlub页面右边头像 -> setting -> SSH Keys ->

------------------------------------------------------------------------------
参考用例:

根据提示执行后看到:

再回到Source Tree 重新克隆即可发现链接不再转圈且可用!
网友评论