将 netty-in-action 项目源码 clone到个人github和本地分支

本文介绍了如何将'netty-in-action'项目的源码克隆到个人GitHub仓库及本地分支。首先,作者提到打算在个人git仓库中保存这本书的源码,方便日后查阅。接着,提供了个人网站和GitHub链接。正文详细讲解了克隆前的步骤,包括在GitHub上配置SSH,添加SSH key。
摘要由CSDN通过智能技术生成

将个人 github 项目 clone到本地分支

提代码说明

最近正在看一本叫做netty实战的书籍,打算将书中源码放到我个人的git仓库中,方便以后 star
本人网站: www.telltao.cn github: https://github.com/telltao 欢迎您的访问~

开始上手

  1. 复制作者的代码到我的私人git仓库
    Start 并Fork一下下即可

  2. clone前的准备工作

$ git init
$ git clone git@github.com:telltao/netty-in-action.git
#提示无权限
Warning: Permanently added the RSA host key for IP address '13.229.188.59' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

#不要着急,配置你的姓名 邮箱 

$ git config --global user.name "姓名"
$ git config --global user.email "telltao@qq.com"
$ ssh-keygen -t rsa -C "telltao@qq.com"

#回车
#回车
#回车
#提示以下表示成功
Generating public/privat
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值