当前位置:网站首页>Use SourceTree to add SSH public key and clone the code cloud project (note finishing)
Use SourceTree to add SSH public key and clone the code cloud project (note finishing)
2022-08-09 18:24:00 【Java enthusiasts wandering above the mountains】
One, create and add SSH-key
Code Cloud Gitee.com address: https://gitee.com/zhenqi/qiucodeBlog
Github address: https://github.com/zhenqicai/qiucodeBlog
Open SourceTree, Operation - Open in Terminal
① Create: ssh-keygen -t rsa -C your mailbox Enter three times
ssh-keygen -t rsa -C your email② View: View the public key cat ~/.ssh/id_rsa.pub
cat ~/.ssh/id_rsa.pubYou can also enter the corresponding file directory and open id_rsa.pub with Notepad to copy the public key
③Add the just generated public key to the code cloud
Login Code Cloud - Personal Center - Settings - SSH Public Key
④ Test:
ssh -T [email protected]If you can see welcome, your nickname, it means success!
⑤ Configuration: Open sourceTree - Tools - Options - Select OpenSSH in SSH Client - OK
Second, start the clone project
① After entering the project, click Clone/Download, you will see two methods: HTTPS and SSH. First, we choose the SSH method and copy the URL
② Clone the project in SourceTree
Clone successfully
边栏推荐
猜你喜欢
随机推荐
@AllArgsConstructor 和 @NoArgsConstructor
总结了 110+ 公开专业数据集
网络——彻底搞懂数据时延的相关计算
5. Visualizing Geospatial Data
2022钉钉杯A题思路及代码:银行卡电信诈骗危险预测
知识点滴 - 如何写项目总结
网络——数据交换方式
使用SourceTree添加SSH公钥并克隆码云项目(笔记整理篇)
二.sizeof和strlen的区别
map和set容器
dichotomy
2022年深圳杯数学建模A题代码思路-- 破除“尖叫效应”与“回声室效应”,走出“信息茧房”
CocosCreator accesses WeChat mini-games
【科普】关于平板电脑的那些事
易基因|作物育种:DNA甲基化在大豆优良品种培育中的作用研究成果
微信开发者工具报错,提示 未找到入口 app.json 文件
C语言循环结构之万恶之源goto语句
三.两数交换 空指针 && 野指针 解引用问题
插入一个数并排序「建议收藏」
MySQL进阶学习









