SourceTree密钥配置

由于版本管理工具 git ,对于一般开发者使用不方便

界面管理可以选择SourceTree和TortoiseGit

废话不多说了, 直接说怎么配置SourceTree密钥

(1)首页->help->ssh-> 拷贝 ssh-keygen -t rsa -C "这里为git账号" 到sourceTree终端执行;
(2)sourceTree->工具->选项>一般->ssh秘钥->选择(1)生成的文件C:\Users\xiaozhangqi\.ssh\id_rsa
(3)打开 cat ~/.ssh/id_rsa.pub 把文件内容拷贝至 Git首页->Profile Settings->SSH Keys->Key文本框->add

你可能感兴趣的:(其它)