当前位置:网站首页>使用SourceTree添加SSH公钥并克隆码云项目(笔记整理篇)
使用SourceTree添加SSH公钥并克隆码云项目(笔记整理篇)
2022-08-09 15:36:00 【游离于山间之上的Java爱好者】
一、创建添加SSH-key
码云Gitee.com地址:https://gitee.com/zhenqi/qiucodeBlog
Github地址:https://github.com/zhenqicai/qiucodeBlog
打开SourceTree,操作——在终端中打开
① 创建:ssh-keygen -t rsa -C 你的邮箱 三次回车
ssh-keygen -t rsa -C 你的邮箱② 查看:查看公钥 cat ~/.ssh/id_rsa.pub
cat ~/.ssh/id_rsa.pub也可以进入对应的文件目录用记事本打开id_rsa.pub复制公钥
③在码云上添加刚刚生成好公钥
登录码云——个人中心——设置——SSH公钥
④ 测试:
ssh -T [email protected]如果可以看到welcome,你的昵称,说明成功了!
⑤ 配置:打开sourceTree——工具——选项——在SSH客户端中选择OpenSSH——确定
二、开始克隆项目
① 进入项目后点击克隆/下载,会看到HTTPS和SSH两种方式,首先我们选择SSH方式,复制网址
② 在SourceTree中clone项目
克隆成功
边栏推荐
- 网络——IPv6 vs IPv4
- Collection of DP Optimization Methods
- 无需支付688苹果开发者账号,xcode13打包导出ipa,提供他人进行内测
- NFT+IDO预售代币合约模式系统开发
- 2. Creating Interactive Maps
- [Server data recovery] Data recovery case of file system data loss caused by SAN LUN mapping error
- 2022年8月9日:用C#生成.NET应用程序--使用 Visual Studio Code 调试器,以交互方式调试 .NET 应用(不会,失败)
- Smart Light Pole Gateway Smart Transportation Application
- Redis Cache Expiration and Retirement Policy
- C语言分支语句if,switch语句详细讲解
猜你喜欢
随机推荐
Access Characteristics of Constructor under Inheritance Relationship
Chapter 3: Use of GEE Data (3.1-3.3)
ESP8266-Arduino编程实例-MQ-6异丁烷丙烷传感器驱动
0. About The Author And Preface
Qt学习第二天
uni-app覆盖组件样式h5生效,微信小程序不生效的问题
Smart Light Pole Gateway Smart Transportation Application
网络——路由器
Detailed explanation of three pieces in C language
二.sizeof和strlen的区别
巧用Prometheus来扩展kubernetes调度器
易基因|作物育种:DNA甲基化在大豆优良品种培育中的作用研究成果
【MySQL】源码编译MySQL8.x+升级gcc+升级cmake(亲测完整版)
网络——局域网和广域网
初识C语言(1)
5. Visualizing Geospatial Data
七.getchar 和 scanf
MySQL索引的B+树到底有多高?
How to create DataFrame with feature importance from XGBClassifier made by GridSearchCV?
推荐一些面向 Web 开发者的杀手级网站









